Unordered List with no aria

This one has a handler for onariarequest

WAPA Demo: Dynamic Set Size and Position

How to Demo Me

I only work in Edge on Windows 10 right now. I'd love it if other browsers supported me too.

Why is that interesting?

When you explored the page with Narrator, Narrator made a request to Edge for UIA properties. Edge coninected those properties at that time, and sent them to Narrator. IE did that part before. What is new is that when the UIA request came in, Edge sends the onariarequest DOM event. This demo has an event handler that hooks up the ARIA list size and position attributes. The markup for these was not downloaded, and was only added to the page when it was needed. That saves download time, and processing time in cases where there isn't an Assistive Technology product running.

This script also changed the size of the list, and the position of each element, to accomdate a list that didn't include all of its children in the current page (or the current DOM). This feature will make creating virtualized lists much easier.