Open Bug 2003965 Opened 7 hours ago

Remove orphaned role behaviour

Categories

(Core :: Disability Access APIs, task)

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:

  1. ARIA pull request to remove orphaned role UA requirement.
  2. Issue discussing implementation concerns that led to this pull request.
  3. Interop issue to remove the orphaned role tests altogether.
You need to log in before you can comment on or make changes to this bug.