Key Points
- Microsoft introduces ARIA Notify, a new API to improve web content accessibility for users with disabilities.
- The API addresses limitations of traditional ARIA live regions, providing a more reliable way to notify users of web page changes.
- Developers can test ARIA Notify now using Microsoft Edge 136 or by enabling a feature flag, with feedback encouraged.
Microsoft Enhances Web Accessibility with ARIA Notify API
Microsoft has announced the availability of ARIA Notify, a new API designed to make web content changes more accessible to users with disabilities. This developer and origin trial is now available starting with Microsoft Edge 136, or locally by enabling the --enable-blink-features=AriaNotify
feature flag. The API aims to replace traditional ARIA live regions, which have limitations in notifying users of non-DOM-related changes.
The Challenge with ARIA Live Regions
For users who are blind or have low vision, identifying non-user-initiated web page changes can be difficult. ARIA live regions, the current solution, are tied to DOM elements, making them ineffective for changes not reflected in the DOM. Examples include:
- Text formatting changes (e.g., bolding text without a DOM update)
- Delayed or failed actions (e.g., sending an email with a delayed confirmation)
Developers often use workarounds, such as offscreen DOM nodes, which can lead to unintended consequences for screen reader users. ARIA live regions also introduce timing issues, requiring developers to wait for content to be added to the region.
Introducing the ARIA Notify API
ARIA Notify provides a more reliable and ergonomic way to notify assistive technologies (ATs) of web page changes. The API allows developers to:
- Dispatch notifications with a simple
ariaNotify()
method, available on thedocument
object or DOM nodes - Specify notification language based on the document or element’s
lang
attribute - Set priority levels (high or normal) to ensure important messages are announced promptly
Example Use Cases:
document.ariaNotify("John Doe is connected");
document.querySelector("#text-editor").ariaNotify("Selected text is bold", { priority: "high" });
Testing and Feedback
Developers can test ARIA Notify now in Microsoft Edge by enabling the feature flag or registering for an Edge Origin Trial. To participate:
- Visit the ARIA Notify page on the Microsoft Edge Origin Trial site.
- Sign in with GitHub credentials.
- Register for the Origin Trial.
Feedback is encouraged through the GitHub repository, where developers can open issues to share their thoughts on the API.
As the web community explores ARIA Notify, Microsoft emphasizes its commitment to improving accessibility for all users. This new API has the potential to enhance the web experience for individuals with disabilities, and feedback from developers will be crucial in shaping its future. With ARIA Notify, Microsoft takes a significant step toward creating a more inclusive web environment, and the company looks forward to refining the API based on community input.
Read the rest: Source Link
You might also like: Try AutoCAD 2026 for Windows, best free FTP Clients on Windows & browse Windows games to download.
Remember to like our facebook and our twitter @WindowsMode for a chance to win a free Surface every month.
Discover more from Windows Mode
Subscribe to get the latest posts sent to your email.