Skip to content

IT Pro Forum New Tools

Nicholas Hoyt edited this page Jun 8, 2022 · 37 revisions

New Accessibility Tools [SLIDE]

Two new browser extensions:

  • Page Structure
  • SkipTo Landmarks & Headings

What do they do, and why are they useful?

The Importance of Semantic Structure [SLIDE]

Structural Elements

Page Title

Describes the content or purpose of the page

[PRESENTER NOTES]

We include Page Title as a structural element because:
* It should describe the main content of the page, and
* in many cases, the semanctics of top-level headings should be aligned with the page title.

Headings

h1 – h6: Provide labels for sections and subsections of content

[PRESENTER NOTES]

As pointed out in WCAG 2.1 (Success Criterion 2.4.10 - Section Headings), not all
pages require headings. However, any page with content broken down into sections and
subsections (covers many pages) should have HTML headings.

Landmarks

Define semantic regions on the page:

HTML Element ARIA Role Notes
main main default role
header banner default role
footer contentinfo default role
nav navigation default role
? (div, form) search role="search"
aside complementary default role
[PRESENTER NOTES]

As pointed out on the WebAIM page linked below, every page should have one 'main'
element, and most pages should have only one 'header' and one 'footer'. All three
of these should be top-level elements (direct children of the 'body' element).

WebAIM also warns against the overuse of 'nav' elements (or the 'navigation' role).
Generally a page should have a primary navigation region, and perhaps one or two
secondary 'nav' regions. Links in the 'footer' do not necessarily need to be enclosed
in a 'nav' element.

When there are multiple landmark regions of the same type, each needs a unique label
so that users can tell them apart. (We see this frequently with the 'navigation' role.)

Benefits of Clear Semantic Structure

  • All users benefit from being able to scan the headings on a page and treat them as if they were an outline or table of contents.

  • Screen reader users rely heavily on navigating among pages based on the page title, and within pages among headings and landmark regions.

Resources

Page Structure for Firefox [SLIDE]

Utilize the Firefox Sidebar to display the semantic structure of a web page, including its page title, headings, and landmark regions, for web accessibility evaluation.

[DEMO]

Installation:

SkipTo Landmarks & Headings [SLIDE]

Provides keyboard access to landmark regions and headings (h1–h6) on a web page.

[DEMO]

Keyboard Shortcuts:

Installation:

Differences between the two extensions [SLIDE]

  • Page Structure lists all headings and landmarks on a page. Its purpose is for manual checking of the semantic structure of a page.

    • Does the page title accurately describe what is found on the page?
    • Are headings used, and do they properly label the content sections? Are they used in the proper order?
    • Are landmarks used to identify the important regions on a page?
  • SkipTo Landmarks & Headings is an assistive technology. It enables fast and efficient navigation within the page to the section headings and important landmark regions.

    • Heading levels are configurable; default is 'h1' through 'h3'
    • Not all landmarks are shown
      • Always shown: 'main', 'search', 'navigation' and 'contentinfo'
      • Optionally, 'complementary' landmarks can be included

[PRESENTER NOTES]

WebAIM: Semantic Structure: Regions, Headings, and Lists
https://webaim.org/techniques/semanticstructure/

Page Structure for Firefox
https://addons.mozilla.org/en-US/firefox/addon/page-structure/

SkipTo Landmarks & Headings: Documentation with Installation Links
https://skipto.github.io/

Clone this wiki locally