ARIA List using aria-owns

From Level Access Web Labs
Revision as of 22:18, 10 April 2018 by Schou (talk | contribs) (Three ul lists consolidated into ARIA list using aria-owns)
Jump to navigation Jump to search

ARIA based list using aria-owns

Below are several ul lists converted into a single ARIA-based list using ARIA roles and property without restructuring the code.

Three ul lists

  • United States
  • Canada
  • Mexico
  • Brazil
  • Columbia
  • Argentia
  • France
  • Germany
  • Spain

Code snippet

<syntaxhighlight lang="html4strict">

  • United States
  • Canada
  • Mexico
  • Brazil
  • Columbia
  • Argentia
  • France
  • Germany
  • Spain

</syntaxhighlight>

Three ul lists consolidated into ARIA list using aria-owns

  • United States
  • Canada
  • Mexico
  • Brazil
  • Columbia
  • Argentia
  • France
  • Germany
  • Spain

Code snippet