The 5 Rules of ARIA

Directly from the spec, the 5 Rules of ARIA: If you can use a native HTML element or attribute with the semantics and behavior you require already built in […] then do so. Do not change native semantics, unless you really have to. All interactive ARIA controls must be usable with the keyboard. Do not …


This content originally appeared on Bram.us and was authored by Bramus!

Directly from the spec, the 5 Rules of ARIA:

  1. If you can use a native HTML element or attribute with the semantics and behavior you require already built in […] then do so.
  2. Do not change native semantics, unless you really have to.
  3. All interactive ARIA controls must be usable with the keyboard.
  4. Do not use role="presentation" or aria-hidden="true" on a focusable element .
  5. All interactive elements must have an accessible name.

That first rule is like music to my ears … embrace the platform, folks!


This content originally appeared on Bram.us and was authored by Bramus!


Print Share Comment Cite Upload Translate Updates
APA

Bramus! | Sciencx (2021-05-25T23:20:45+00:00) The 5 Rules of ARIA. Retrieved from https://www.scien.cx/2021/05/25/the-5-rules-of-aria/

MLA
" » The 5 Rules of ARIA." Bramus! | Sciencx - Tuesday May 25, 2021, https://www.scien.cx/2021/05/25/the-5-rules-of-aria/
HARVARD
Bramus! | Sciencx Tuesday May 25, 2021 » The 5 Rules of ARIA., viewed ,<https://www.scien.cx/2021/05/25/the-5-rules-of-aria/>
VANCOUVER
Bramus! | Sciencx - » The 5 Rules of ARIA. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/05/25/the-5-rules-of-aria/
CHICAGO
" » The 5 Rules of ARIA." Bramus! | Sciencx - Accessed . https://www.scien.cx/2021/05/25/the-5-rules-of-aria/
IEEE
" » The 5 Rules of ARIA." Bramus! | Sciencx [Online]. Available: https://www.scien.cx/2021/05/25/the-5-rules-of-aria/. [Accessed: ]
rf:citation
» The 5 Rules of ARIA | Bramus! | Sciencx | https://www.scien.cx/2021/05/25/the-5-rules-of-aria/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.