Remove orphaned role behaviour
Categories
(Core :: Disability Access APIs, task)
Tracking
()
People
(Reporter: Jamie, Unassigned)
References
(Blocks 1 open bug)
Details
In bug 1849160, we implemented functionality to ignore a role if it is used in an invalid context; e.g. a cell outside of a row or an option outside of a listbox. Because of backwards compatibility and performance concerns, the ARIA WG decided to remove this requirement on user agents while keeping it as an authoring error. Chrome also removed some support they had for this and WebKit never implemented it. For maximum interop, we should revert our implementation.
Unfortunately, this isn't a trivial revert because that area of the code has evolved substantially since this landed: this role calculation moved from LocalAccessible to Accessible, etc. Also, we should keep the rowgroup role and probably some of the tests added in bug 1849160, though we'll obviously have to change the test expectations.
References:
Description
•