Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Valerie R Young committed Mar 18, 2019
1 parent f470e1d commit 6bdaca7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions describing-hierachical-structure-with-aria-level.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The attribute `aria-level` can be used on the following roles:

## `heading` Role

Used together, the attribute `aria-level` and role `heading` will be treated the same by assistive technologies as the native HTML header elements: `h1', `h2', `h3', `h4` and `h5`. Do not use attribute `aria-level` and `heading` when a native HTML element can be used.
Used together, the attribute `aria-level` and role `heading` will be treated the same by assistive technologies as the native HTML header elements: `h1`, `h2`, `h3`, `h4` and `h5`. Do not use attribute `aria-level` and `heading` when a native HTML element can be used.

This example uses the `heading` role and `aria-level` attribute to communicate levels of headings for a graph created with an SVG. The headings "Deciduous Trees" and "Evergreen Trees" are both subheadings to "Total Trees per Year".

Expand All @@ -28,7 +28,7 @@ This example uses the `heading` role and `aria-level` attribute to communicate l

### Remediation Uses Cases

Because the attribute `aria-level` and the role `heading` can be used to approximate a native HTML section heading element, legacy code which cannot be converted to using `h1` should add these roles and attributes to their website's header elements.
Because the attribute `aria-level` and the role `heading` can be used to approximate a native HTML section heading element, legacy code which cannot be converted to using HTML header elements should add these roles and attributes to their website's header elements.

For example, "Definition of a Room" is a subsection of "Housing Specification":

Expand Down

0 comments on commit 6bdaca7

Please sign in to comment.