Steps to reproduce: 1. View data:text/html,<div role="dialog" aria-expanded="true"></div> 2. Examine the dialog using XCode's Accessibility Inspector Expected results: AXExpanded would not be true Actual results: AXExpanded is true A change was made in ARIA 1.2 removing aria-expanded as a supported property from a whole bunch of roles. See https://www.w3.org/TR/wai-aria-1.2/#aria-expanded. Dialog is just an example. Under https://www.w3.org/TR/wai-aria-1.2/#state_property_processing, it says: User agents MUST ignore non-global states and properties used on an element without a role supporting the state or property;
<rdar://problem/83392274>
Taking this one.
Created attachment 439065 [details] Patch
Created attachment 439136 [details] Patch
Created attachment 439143 [details] Patch
Chris: Could you please re-review when you get a chance? I made a couple of small changes since the initial patch you r+ed. Thanks in advance!
(In reply to Joanmarie Diggs from comment #6) > Chris: Could you please re-review when you get a chance? I made a couple of > small changes since the initial patch you r+ed. Thanks in advance! Looks ok Thanks
Committed r283078 (242136@main): <https://commits.webkit.org/242136@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 439143 [details].