Check the Accessibility Tree for keyboard and screen reader support - Microsoft Edge Developer documentation (2024)

Table of Contents
In this article See also FAQs
  • Article

Several DevTools features check for keyboard and screen reader support. Using the Inspect tool to check the accessibility of each page element individually can become pretty time-consuming. An alternative way to check a webpage is to use the Accessibility Tree. The Accessibility Tree indicates what information the page provides to assistive technology such as screen readers.

The Accessibility Tree is a subset of the DOM tree, which contains elements from the DOM tree that are relevant and useful for displaying the contents of a page in a screen reader. The Accessibility Tree is in the Accessibility tab of the Elements tool (near the Styles tab).

To explore using the Accessibility Tree:

  1. Open the accessibility-testing demo webpage in a new window or tab.

  2. To open DevTools, right-click the webpage, and then select Inspect. Or, press Ctrl+Shift+I (Windows, Linux) or Command+Option+I (macOS). DevTools opens.

  3. Select the Inspect (Check the Accessibility Tree for keyboard and screen reader support - Microsoft Edge Developer documentation (1)) button in the top-left corner of DevTools so that the button is highlighted (blue).

  4. In the rendered webpage, in the Donation section, hover over the 100 button. The Inspect tool overlay appears.

  5. In the rendered webpage, click the 100 button. In DevTools, the Elements tool is displayed. The DOM tree shows the <div class="donationbutton">100</div> element for the 100 button. The Styles pane shows the CSS rules that apply to the element.

    Check the Accessibility Tree for keyboard and screen reader support - Microsoft Edge Developer documentation (2)

  6. To the right of the Styles tab, select the Accessibility tab. The Accessibility Tree for the element is displayed, and is expanded:

    Check the Accessibility Tree for keyboard and screen reader support - Microsoft Edge Developer documentation (3)

Any element in the tree that doesn't have a name, or has a role of generic (such as the <div class="donationbutton">100</div> element) is a problem, because that element won't be available to keyboard users, or to users who are using assistive technology.

See also

Check the Accessibility Tree for keyboard and screen reader support - Microsoft Edge Developer documentation (2024)

FAQs

How do I check accessibility in Microsoft Edge? ›

In Microsoft Edge all accessibility features can be found on a single settings page. Go to Settings and more > Settings > Accessibility .

How do you read an accessibility tree? ›

How to use the accessibility tree?
  1. Right-click anywhere on the page and at the bottom of the menu activate “inspect.”
  2. There will be an elements panel on the right side of the developer tools (near the CSS styles). Activate the right arrow and select the “Accessibility” tab.
  3. Voila, you have the accessibility tree.
Feb 6, 2022

What does the accessibility checker check for? ›

The Accessibility Checker verifies your file against a set of rules that identify possible issues for people who have disabilities. Depending on how severe the issue is, the Accessibility Checker classifies each issue as an error, warning, or tip.

How do I get the accessibility tree in Chrome? ›

To view the accessibility tree: In Chrome, right-click anywhere on the page and select “Inspect” to open Chrome Developer Tools. Under the “Elements” tab, click the “Accessibility” tab. The first item in the list is the Accessibility Tree.

How do I check my screen reader Accessibility? ›

To run the Accessibility Checker, press Alt+Windows logo key+R, Q.

What are the Accessibility features in Microsoft Edge? ›

Built-in Accessibility Tools in Microsoft Edge

These tools can be found in the Microsoft Edge settings menu and include features like high contrast mode, caret browsing, and reading view. High contrast mode is a feature that changes the colors of the web page to make it easier to see for people with visual impairments.

What is an accessibility tree? ›

An accessibility tree is part of a website's Document Object Model (DOM), which is a programming interface that represents the structure and content of a web page. The DOM allows software to change the style and content of a document to present that document more effectively to the user.

How is the accessibility tree created? ›

The DOM tree contains objects representing all the markup's elements, attributes, and text nodes. Browsers then create an accessibility tree based on the DOM tree, which is used by platform-specific Accessibility APIs to provide a representation that can be understood by assistive technologies, such as screen readers.

How do you determine accessibility? ›

Accessibility Testing Tools

Accessibility Scan and Monitor is an app from the accessibility compliance platform UserWay. The tool uses AI to check websites' WCAG and ADA compliance, including links, images, videos, and form fields that aren't accessible-friendly.

What are the 3 types of accessibility issues identified by accessibility checker? ›

The accessibility checker in Office Products such as Word will identify some accessibility problems, such as inadequate color contrast, missing alt text for images, a lack of table headers, and restricted document access.

What does screen reader accessible mean? ›

This means that designing web pages and documents accessibly ensures that screen reader users can navigate the entire site or document using the keyboard. Screen readers are a tool for testing accessibility because they confirm the flow of the page.

What is the basic accessibility testing? ›

Accessibility testing is the practice of making your web and mobile apps usable to as many people as possible. It makes apps accessible to those with disabilities, such as vision impairment, hearing disabilities, and other physical or cognitive conditions.

How do I enable browser accessibility? ›

Click on the three dots in the upper-right corner of the browser. Select "Settings" and then "Advanced". Under "Accessibility", select "Manage Accessibility Features". Toggle on "Enable accessibility features for voice control" to enable voice input and output.

How do I open Chrome Devtools settings? ›

Access Developer Tools

Select View > Developer > Developer tools.

How can I tell if a website is accessibility in Chrome? ›

Google Chrome LightHouse for Accessibility Audit

To access the Google Chrome accessibility testing feature (audit panel) directly on any page you want to test: Download Google Chrome for Desktop. Open the web page to be evaluated on your Chrome browser. Press the F-12 key or right-click and select the “Inspect” option.

Where do I find my accessibility settings? ›

On your device, open the Settings app. Accessibility Menu. Turn Accessibility Menu shortcut on. To accept the permissions, tap OK.

How do I find accessibility in settings? ›

Open your device's Settings app, then choose Accessibility. Explore Google Play for accessibility apps and services for Android.

Does Microsoft have an accessibility tool? ›

Use the Accessibility Checker in apps like PowerPoint, Word, and Outlook to ensure content is easy for people with disabilities to read and edit.

Top Articles
Latest Posts
Article information

Author: Jeremiah Abshire

Last Updated:

Views: 5876

Rating: 4.3 / 5 (54 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Jeremiah Abshire

Birthday: 1993-09-14

Address: Apt. 425 92748 Jannie Centers, Port Nikitaville, VT 82110

Phone: +8096210939894

Job: Lead Healthcare Manager

Hobby: Watching movies, Watching movies, Knapping, LARPing, Coffee roasting, Lacemaking, Gaming

Introduction: My name is Jeremiah Abshire, I am a outstanding, kind, clever, hilarious, curious, hilarious, outstanding person who loves writing and wants to share my knowledge and understanding with you.