Difference between revisions of "Use of Redundant ARIA roles"

From Level Access Web Labs
Jump to navigation Jump to search
(Created page with "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 wit...")
 
Line 4: Line 4:
 
* Img with img role allows hiding of non-labeled child svg elements with img references an svg element as it's soure
 
* Img with img role allows hiding of non-labeled child svg elements with img references an svg element as it's soure
 
* List with list role is used on iOS with list-style-type none to ensure VO speaks numbered list items
 
* List with list role is used on iOS with list-style-type none to ensure VO speaks numbered list items
 +
 +
[Category:ARIA]

Revision as of 19:23, 28 February 2019

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 img role allows hiding of non-labeled child svg elements with img references an svg element as it's soure
  • List with list role is used on iOS with list-style-type none to ensure VO speaks numbered list items

[Category:ARIA]