core-aam icon indicating copy to clipboard operation
core-aam copied to clipboard

Should the NSAccessibility scroll-bar API be included in mapping for scrollbar role?

Open joanmarie opened this issue 1 year ago • 2 comments

NSAccessibility has API (old and new) through which an AT can obtain the scrollbars associated with a scrollview. While ARIA lacks a "scrollview" role, the spec states:

Authors MUST set the aria-controls attribute on the scrollbar element to reference the scrollable area it controls.

If authors do that, then user agents could implement NSAccessibility's scroll-bar API exposing the scrollbars on the controlled element.

My question is: Should user agents do this implementation, or was it deliberately left out of the spec?

@cookiecrook: Your/Apple's input would be much appreciated. Thanks in advance!

joanmarie avatar Dec 05 '24 13:12 joanmarie

My question is: Should user agents do this implementation?

Yes.

or was it deliberately left out of the spec?

No. Not intentional. Thanks.

cookiecrook avatar Dec 11 '24 21:12 cookiecrook

And UAs can do that for any natively scrolling views like the main web view or any overflow scroll areas.

cookiecrook avatar Dec 11 '24 21:12 cookiecrook