This content originally appeared on Bram.us and was authored by Bramus!
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 use
role="presentation"
oraria-hidden="true"
on a focusable element . - 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!
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/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.