Skip to content

ianbuchanan42/a11y-sprout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A11y Sprout

A11y Sprout leverages Puppeteer to scrape the accessability tree of a designated website and returns the current state of Links, Headers, Landmarks and Tabindex. Which can give us a glimpse into a websites usability in regards to assistive technology such as screen readers and VoiceOver

Accessibility.snapshot() method

As stated in the Puppeteer Docs the method...

"Captures the current state of the accessibility tree. The returned object represents the root accessible node of the page."

    const snapshot = await page.accessibility.snapshot();

What does A11y Sprout focus on?

Links

  • Checks for a skip link that allows a user to skip to the main content instead of having to tab through the header and navigation of a page.
  • Meaningful links that provide context to the links content or purpose.

Headers

  • Header ranking, making sure that only one h1 is on a page and that the h1-h6 element hierarchy is semantic and not stylistically driven.

Landmarks

Tabindex

  • Proper use of the tabindex HTML attribute, meaning that all important elements on a web page are focusable and accessible in a meaningful order when navigating a page using the tab key on the keyboard.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published