ARIA HTML Tutorial - What is ARIA & Why it's Important to Use!

Поділитися
Вставка
  • Опубліковано 27 вер 2024
  • www.linode.com/... - Use code 'DESIGNC19' to get $20 credit on your new Linode account!
    - Today, we're going to touch on an often overlooked subject in frontend development, although it's very important. And that is ARIA. ARIA is an acronym that stands for "Accessible Rich Internet Applications", and it's a set of attributes that help make your websites/web apps more accessible/usable to people with disabilities, such as blindness.
    While there are many ARIA attributes and different use cases, we're not going to take a look at all of them. The purpose of this video instead, is to shine a light on the importance of understanding and using these attributes. With the assistance of a chrome plugin (ChromeVox), you will find out just how difficult it can be to navigate your way around a UI without sight -- and how using these ARIA attributes will help the user experience.
    Some resources:
    www.w3.org/TR/...
    developers.goo...
    ChromeVox (Free chrome extension):
    chrome.google....
    -- To disable/enable the plugin, the shortcut is SHIFT-ALT-A-A
    NVDA screen reader (Free screen reader for Windows):
    www.nvaccess.org/
    Let's get started!
    #accessibility #frontend
    - - - - - - - - - - - - - - - - - - - - - -
    Subscribe for NEW VIDEOS!
    My site: designcourse.com
    My personal FB account: logodesi...
    Coursetro FB: coursetro
    Coursetro's Twitter: / designcoursecom
    Join my Discord! / discord
    ^-Chat with me and others
    - - - - - - - - - - - - - - - - - - - - - -
    Who is Gary Simon? Well, I'm a full stack developer with 2+ decades experience and I teach people how to design and code. I've created around 100+ courses for big brands like LinkedIn, Lynda.com, Pluralsight and Envato Network.
    Now, I focus all of my time and energy on this channel and my website Coursetro.com.
    Come to my discord server or add me on social media and say Hi!

КОМЕНТАРІ • 135

  • @DesignCourse
    @DesignCourse  5 років тому +23

    Have you neglected using ARIA attributes? Also, check out my upcoming UI design course: completeui.design

    • @coyotestark5598
      @coyotestark5598 5 років тому +3

      Please, more tutorials about accessibility.

    • @MrFckingninja
      @MrFckingninja 5 років тому

      GUYS! What can i use on LINUX UBUNTU as a screen reader? THANKS ! :)

    • @chrisleighton6289
      @chrisleighton6289 4 роки тому +2

      @@MrFckingninja Orca

    • @chrisleighton6289
      @chrisleighton6289 4 роки тому +1

      Yo Gary, great presentation style & quality. Do you have an interest in editing the vid. by adding a focus handler that with

    • @endivinavoluntad2328
      @endivinavoluntad2328 3 роки тому

      WHEN??

  • @adamromero
    @adamromero 4 роки тому +164

    This kind of stuff really needs to be more emphasized in learning courses for HTML. Web accessibility is too often an after thought for front end developers, I've been guilty of this too.

  • @notbrad4873
    @notbrad4873 4 роки тому +100

    I'm a digital accessibility auditor. The best way to make accessible sites is to follow the HTML spec and Web Content Accessibility Guidelines (WCAG).
    ARIA is made for UI elements that don't have meaningful syntax native to HTML. The accordion is a good example. ARIA supplements the meaningful information not supplied by native code (there is no tag), so you take an existing HTML element (div or button) and give it new meaning and specify the UI relationships with ARIA (labelledby, role, etc).
    Hope that makes sense.

    • @cal9653
      @cal9653 2 роки тому +2

      Worth noting the details / summary elements for accordions, but often you'll make a custom accordion for better transitions etc. so definitely still useful advice.

    • @dragosgheceanu9847
      @dragosgheceanu9847 2 роки тому

      thanks!

  • @ahmedthebest
    @ahmedthebest 5 років тому +97

    I am a blind developer already I use a screen reader normally I think the best way to make your website accessible to use the native HTML tags I mean when you create a button use the tag button not airlink and style it it as a button .
    The HTML cannabis doesn't accessible at all don't use it a lot

    • @IsaiahGamers
      @IsaiahGamers 5 років тому +4

      role=“button”

    • @GauravKumar-ue7nz
      @GauravKumar-ue7nz 3 роки тому

      What does Blind Developer means?

    • @ahmedthebest
      @ahmedthebest 3 роки тому +2

      @@GauravKumar-ue7nz
      It's someone who can see works as a computer.

    • @jaidendechon35
      @jaidendechon35 3 роки тому +12

      ​@@IsaiahGamers This is a common misconception. The whole point of semantic HTML is to use the right element for the job. If you need a button, just use a button! Even if you use `role="button"`, you're making things much worse for accessibility and much harder for yourself. If you don't use a `button` tag for a button, you now have to manually implement a tabindex, event-handlers for click/enter/spacebar, and all sorts of other things semantic buttons do for you just by virtue of being a button.
      Check this out for more information about what happens when you use your technique: ua-cam.com/video/qdB8SRhqvFc/v-deo.html
      It's best just to use a tag. Doing otherwise makes things harder for yourself AND your audience for no gain at all.

    • @seanpaulson9098
      @seanpaulson9098 2 роки тому +1

      @@IsaiahGamers no don't use role='button' on a HTML button tag... that's redundant and will cause problems.

  • @brianmarwa8320
    @brianmarwa8320 5 років тому +7

    I just recently got hired for a position that requires me to make projects accessible and 508 compliant. This video came at the right time....

  • @iamtafara
    @iamtafara 5 років тому +8

    Love how he says before we begin, halfway through the video.

  • @erikjansson1790
    @erikjansson1790 4 роки тому +14

    I love that you're making content about accessibility as well as UI/UX design. You could solve the accordion issues using only HTML with the and -tags. No script or aria needed. Try it!

    • @JAllen-tx3di
      @JAllen-tx3di Рік тому +3

      I prefer your approach much more because as a person who uses screen readers and have to teach my students how to use them, the accordion method is too wordy and I would much rather it say "button, list, etc" versus all of the text aria did, it can be confusing when hearing so much feedback. Thank you for giving this example in HTML. ARIA is used only when the HTML semantics isn't available. This video demonstrates why that is so, unintionally. But now I have more clarity.

  • @debjanibiswasroy
    @debjanibiswasroy Рік тому +1

    Honestly in youtube there are tons of ARIA tutorials and none of them is in this depth. This is exactly what I was looking for...Super helpful.

  • @JaimeIniesta
    @JaimeIniesta 4 роки тому +18

    The way to disable the extension (or enable it again) on a mac is: Control + Command + a + a

  • @MarkBelain
    @MarkBelain 2 роки тому +1

    OK so bookmarking this video for later, but I'm here because I thought Facebook was using "aria-describedby" to create pop-up descriptions, and I was asking "What is aria-describedby?" Your intro answered the ENTIRETY of my googling journey in just 5 seconds.
    Even though I'm leaving as soon as your 5 second intro answered my question, kudos to you for clearing something up so well and so fast like that.
    I PROMISE I will come back to watch the video in full, and soon.

  • @parthkumarchaudhary
    @parthkumarchaudhary 5 років тому +18

    Very Useful information.
    Now i understand why Bootstrap use "ARIA" attribute in their Development.
    Thanks Gery for great information. You added very important thing to my library.

  • @Frankslaboratory
    @Frankslaboratory 5 років тому +2

    New video, great! Most websites ignore ARIA, even in the company where I work. You can't even checkout without mouse :D

  • @chukwuemekakingsleyufoegbu263

    Even in a simple symantic html demonstration your UI still looks elegant. Would definitely enroll for your UI course when am able to raise the money.

  • @AndrewPoole-h6m
    @AndrewPoole-h6m 9 місяців тому

    Great video! I already passed it along to my workmates. So clear and concise. Thanks!

  • @ozanmuyes
    @ozanmuyes 3 місяці тому +1

    Thanks for the informative video! One suggestion I can make for @DesignCourse is to minimize dark-to-light switching (and vice versa). It hurt my eyes (no pun intended)

  • @HoTKreeZy
    @HoTKreeZy 5 років тому +47

    Wow... honestly, I've never worked with aria attributes and never really knew how important they are.. thank you, it is really interesting. Bravo!

  • @cram6916
    @cram6916 3 роки тому +2

    Thanks for the Alt+Shift+(A x2) shortcut The reader says "Chrome Vox is now inactive" but it continues to read anything I mouse over or click. It lies to me! :D

  • @MeinDeutschkurs
    @MeinDeutschkurs 6 місяців тому

    Thank you very much. This demo was eye opening! ❤

  • @kuhaniresti
    @kuhaniresti 10 місяців тому

    Im implementing this in my javascript framework

  • @elmalleable
    @elmalleable 5 років тому +1

    how i wish i watched this one day before an interview, i totally almost forgot nav and aside when i was asked about semantic html. Thanks Gary, you help make the web a better place

  • @lequientlewis1937
    @lequientlewis1937 2 роки тому +3

    I pressed Shift + Alt + A.A , but it's still active 🙃

    • @conaxlearn8566
      @conaxlearn8566 2 роки тому +1

      Same for me. Guess that's the real reason for low rating.

  • @bathulanagendra4621
    @bathulanagendra4621 5 років тому +2

    Nice video.Inspiring to do some work related to blind people's.appreciating your concern about blind people.Gud work.

  • @sovereignlivingsoul
    @sovereignlivingsoul Рік тому

    thanks for the intro on aria, i try to implment aria in my designs, it's one of those things you need to outline pror to actual coding, in my case anyway.

  • @Niallphillips
    @Niallphillips 2 роки тому +1

    At the start you add a semantic 'nav' instead of just using role but it gives the same result. Whats the difference if it gives the same result?

  • @snakone
    @snakone 5 років тому

    thanks Angular cares about ARIA i learned what was it and why exist

  • @LearnFrontendNow
    @LearnFrontendNow 4 роки тому

    Great accessibility video and that outro tune ❤️

  • @fh3r3
    @fh3r3 9 місяців тому

    thanks bro, very clear,

  • @NorthOfDark
    @NorthOfDark 5 років тому +1

    thank you for covering this.

  • @minamulhaq
    @minamulhaq 5 років тому +1

    FF comes with built-in ScreenReader

  • @balajisv4052
    @balajisv4052 Рік тому

    how come without any key event listener, on enter press, it is getting expanded?

  • @ob5804
    @ob5804 Рік тому

    Everything is the same as in Gary's, but how do I get to the text, it is clear with the mouse, circles the text and reads it, and with the tab, only to the next button (item), but not to the text (

  • @TheUnOriginalsAdda
    @TheUnOriginalsAdda 3 роки тому

    Thank you for the information you provide. its really helps me lot

  • @jomesias
    @jomesias 5 років тому +3

    So Aria reads the css data attribute and uses the speech utterance library to speak the description?

    • @DesignCourse
      @DesignCourse  5 років тому +1

      ARIA reads html markup along with associated attributes and presents it as an audio-based UI.

    • @jomesias
      @jomesias 5 років тому

      DesignCourse thanks for your reply! Its looking... err sounding awesome! 😆😆🎉🎉

  • @victorstone3720
    @victorstone3720 2 роки тому

    this was really helpful! Thank you so much👍🏽

  • @anandhakumar8898
    @anandhakumar8898 Рік тому

    After expanded the first row, now I click the second row the first row should automatically collapse and second row become expanded . What should I do for that?

  • @entertainmentmedia8298
    @entertainmentmedia8298 3 роки тому

    Why always skipped text for me(heading paragaraph) only jump to button, link or input fields.

  • @ravikirangundala4257
    @ravikirangundala4257 2 роки тому

    Hi,
    I have a problem like, after selecting any option from combo box, screen reader announcing as "combo box option collapsed required", but I need a custom message like "option selected combo box collapsed required" how can I achieve this.
    Please help me out from this problem.

  • @MZ-uv3sr
    @MZ-uv3sr 3 роки тому

    To disable plug in Shift Alt AA (once I turned it on it was hard to hear the video for these instructions)
    Windows desktop

  • @leogarza5022
    @leogarza5022 5 років тому

    VERY USEFUL!
    Awesome Content!!!

  •  5 років тому +1

    When it came to e-books, i liked pdfs better than epubs. Now I like e-pubs better because edge browser
    can read them. So e-pubs = audio books :)

  • @AugerHybrid
    @AugerHybrid 2 роки тому

    But how I'm able to focus on text element revealed to get reader to say it?

  • @TheFeelGoodKid
    @TheFeelGoodKid Рік тому

    Very good vid. Have you anymore videos or courses on web accessibility?

  • @GoddessofWarr
    @GoddessofWarr 3 роки тому

    Super vidéo ! J'ai acheté un applaudissement à 2,00 € 👏

  • @GiammaCarioca
    @GiammaCarioca 5 років тому

    Great video! More of that please!

  • @carolinaborges5467
    @carolinaborges5467 4 роки тому +1

    Amigo, podes por o css ? obrigada.

  • @engineerlawalhamzatademola4267
    @engineerlawalhamzatademola4267 2 роки тому

    Could you please make more videos like this on accessibility?

  • @conaxlearn8566
    @conaxlearn8566 2 роки тому

    Shift+Alt A A doesn't work for me. 😢

  • @oudoulj
    @oudoulj 8 місяців тому

    Watch out: there's a typo at 10:14
    This should be aria-labelledby with 2 L

  • @rebehayan
    @rebehayan 5 років тому

    Wow.. sooo cooll~~
    How is different ChromeVox, NVDA, JAWS??

  • @adityamishra7711
    @adityamishra7711 5 місяців тому +2

    What if someone's like Helen Keller, I don't think they would put braile or sign languages...
    Goes to show that accessibility is just a game nerds love to play ...

  • @MZ-uv3sr
    @MZ-uv3sr 3 роки тому

    I turned it off like he said, and then it kept telling me it was inactive. Less than 5 minutes and i'm ready to de-install it but don't see it with the other extensions omg.

  • @vikinggeorge7007
    @vikinggeorge7007 Рік тому

    When I saw aria, I was thinking about opera aria in Italian. Why not just call it a11y?

  • @_rachid
    @_rachid 3 роки тому

    Thank you

  • @bulp9893
    @bulp9893 5 років тому

    Cool stuff ❤

  • @ru2979
    @ru2979 2 роки тому

    This is definitely not the video if you haven"t heard of ARIA and want to get a head start.

  • @mohamedelidrissi2839
    @mohamedelidrissi2839 5 років тому

    Epic intro

  • @yugsoni2603
    @yugsoni2603 5 років тому

    Thanks

  • @valoricDe
    @valoricDe 3 роки тому

    Are you aware of a similar extension for firefox?

  • @brunnosilva2668
    @brunnosilva2668 Рік тому

    OK, so basically we're going to build our thing normally and then make it screen reader friendly in the parts that aren't so clean for people using it....

  • @rudrapratapsinha8880
    @rudrapratapsinha8880 5 років тому

    good video

  • @basith237
    @basith237 5 років тому

    Nice 👍👍

  • @robertsakurai
    @robertsakurai 3 роки тому +1

    If you are not yet convinced you should use this here is the answer: The Legal implications for not having an accesible website in some countries are big

  • @davidfitcher2953
    @davidfitcher2953 4 роки тому

    What are we doing?

  • @easywin775
    @easywin775 3 роки тому

  • @juliohintze595
    @juliohintze595 5 років тому

    Great content!
    Btw, your outro music kinda doesn't fit with the video, imo lol

    • @DesignCourse
      @DesignCourse  5 років тому +3

      I'm a rocker, I can't help it!

    • @I_Lemaire
      @I_Lemaire 3 роки тому

      Yeah, Julio. Get punked!

  • @ExplodeingchildYAY
    @ExplodeingchildYAY Рік тому +2

    Ummm uhhh excuses me ummm my name is Aria 💀💀💀💀

  • @자시엘-l1s
    @자시엘-l1s 5 років тому

    Why are commodities like ordering pizza held to the same tier as disabled parking and wheelchair ramps???

    • @chrisleighton6289
      @chrisleighton6289 4 роки тому

      because in a quality community people with special needs or who are disabled are allowed to eat. Do you have an argument why pizza should be at a lower quality than wheelchair ramps?

  • @rickcode22
    @rickcode22 Рік тому

    Shit + Alt (cmd) + A A - doesn't turn this off.

  • @JohnSmith-zl8rz
    @JohnSmith-zl8rz 4 роки тому +3

    You don't let the voice over talk! everytime that voice over is on, you talk!

    • @privacyvalued4134
      @privacyvalued4134 4 роки тому

      Yup! He does seem to let it speak separately more freuqently later on in the video. He's probably used to doing all the talking in his videos and is just doing it as a reflex action.

  • @unknownman5296
    @unknownman5296 2 роки тому

    ddf

  • @BhupendraSingh-bj4uf
    @BhupendraSingh-bj4uf 5 років тому

    n here you look like Tintin

  • @brucearmstrong5536
    @brucearmstrong5536 6 місяців тому

    that thumb nail was dirty

  • @cynthiacarlson3670
    @cynthiacarlson3670 4 роки тому

    Why does this guy looks like HAWKEYE ?

  • @ArtcodEAscetik
    @ArtcodEAscetik Рік тому

    started well until this f*** advertising...

  • @babakfp
    @babakfp 2 роки тому

    14 min video and you didn't really teach anything😐👌

    • @DesignCourse
      @DesignCourse  2 роки тому

      Well, look at the likes to dislikes and the 99% positive comments. What else did I do if I didn't offer something of value?

    • @babakfp
      @babakfp 2 роки тому

      ​ @DesignCourse I don't care about the likes or comments. Oh, I just read the title of the video. So, it's not a tutorial. Sorry, my bad❤.

    • @babakfp
      @babakfp 2 роки тому

      "What is ARIA & Why it's Important to Use!"
      You didn't just explain it, you also showed it, so well done.

    • @babakfp
      @babakfp 2 роки тому

      "ARIA HTML Tutorial"
      OMG

  • @HoNow222
    @HoNow222 3 роки тому

    Your thumbnail is really really offensive dude.

    • @DesignCourse
      @DesignCourse  3 роки тому

      It wasn't meant to be offensive. It was just an idea I had to quickly illustrate part of what Aria is about. If I offended anyone, sorry.

    • @HoNow222
      @HoNow222 3 роки тому

      ​@@DesignCourse Appreciate the reply.

  • @shannavick-morris1092
    @shannavick-morris1092 3 роки тому +2

    Start watching video at 3:26. That is where it starts to answer the question on the topic.

  • @microcolonel
    @microcolonel 2 роки тому +3

    One other thing that you could do is use a element instead of just a button and a paragraph in that expanding thing list. Another nice thing about is that it can be reached with browser search, and is automatically expanded and contracted when you do that. Also, no Javascript is necessary, in browsers from the last decade.

  • @josephmbimbi
    @josephmbimbi 3 місяці тому

    Thank you for the vidoe, but you talking over the chrome box (or vice versa) is quite annoying. When you have something to say, wait until it is finished, don't do any action or disable it

  • @mascatrails661
    @mascatrails661 2 роки тому +1

    I don't understand why you added the aria-controls and aria-labeledby. These didn't seem to affect the screen reader at all...

  • @marcelomoraes1341
    @marcelomoraes1341 3 місяці тому

    Great video! We gotta raise some awareness over the web accessibility importance.

  • @6644guilherme
    @6644guilherme Рік тому

    I always tought was because the font family and was confused until watched this video

  • @ReactWithSamwize
    @ReactWithSamwize Рік тому

    What camera are you using for your recording, its too clean😃

  • @arthura.kupriyanov4667
    @arthura.kupriyanov4667 5 років тому +2

    I love this ending music :) Good job, bro!

  • @abhishreymittal
    @abhishreymittal 5 років тому +1

    The thumbnail looks justified... Got that?😅

  • @imtanuki4106
    @imtanuki4106 2 роки тому

    visually impaired....

  • @alex-suciu
    @alex-suciu 5 років тому +1

    do you have a full tutorial for accessibility?

  • @kakyoin4535
    @kakyoin4535 Рік тому

    Awesomeee

  • @kristinludlowUX
    @kristinludlowUX 4 роки тому

    That Chrome plugin is horrible. No easy way to turn off or on.

  • @a-girl-has-no-name
    @a-girl-has-no-name Рік тому

    After being in this field for three years I had this sudden idea of looking up what the hell aria was because every one was using it, and I was just annoyed with these attributes that were everywhere and made no sense to me. Now I am embarrassed but glad that I got to know what they are. Thanks for this tutorial! It's so bad that these important points are not touched upon during the foundation learning of html.

  • @princebillygrahamkarmoker2122
    @princebillygrahamkarmoker2122 3 роки тому

    Hawkeye from avengers started to make coding tutorial 😂

  • @mojtabavahdati7648
    @mojtabavahdati7648 3 роки тому

    Your voice sounds like a screen reader's voice too! :) Thanks man!

  • @brittpermien
    @brittpermien 3 роки тому

    What is the Mac key combo to quickly turn Vox on and off? Thanks!

  • @meatyt3296
    @meatyt3296 3 роки тому

    Wait,, this isn't Minecraft music

  • @SirSajjad
    @SirSajjad 4 роки тому

    Keep up producing useful tutorials. All the best. Helpful to understand ARIA.

  • @andreas_arvidsson
    @andreas_arvidsson 3 роки тому

    Nice video and music :D

  • @MrFckingninja
    @MrFckingninja 5 років тому

    GUYS! What can i use on LINUX UBUNTU as a screen reader? THANKS ! :)

  • @hannaaverkamp-peters149
    @hannaaverkamp-peters149 3 роки тому

    Great content! Thank you so much for this :)

  • @aniketkambli
    @aniketkambli 4 роки тому

    source code?

  • @ahnmebnsina381
    @ahnmebnsina381 5 років тому

    awesome tutorial :-)