Use of Redundant ARIA roles

From Level Access Web Labs
Revision as of 20:05, 28 February 2019 by Cblouch (talk | contribs) (Wordsmithed slightly for clarity)
Jump to navigation Jump to search

Generally redundant roles are discouraged. In some rare cases there may be a need to use a redundant role.

  • Form with role=form will treat the form as a landmark.
  • Img with role=img allows hiding of non-labeled child svg elements when img src references an svg element
  • List with role=list is used on iOS with list-style-type:none to ensure VO speaks numbered list items