mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
220f6dfece
We now use CachedTableAccessible for ARIA tables and grids, so most of the code in the ARIA table classes was unused. 1. Remove ARIAGridAccessible and ARIARowAccessible completely. 2. ARIAGridCellAccessible no longer derives from TableCellAccessible. 3. Remove most of ARIAGridCellAccessible. 4. We still use ARIAGridCellAccessible to differentiate between valid and invalid cells. Valid cells create an ARIAGridCellAccessible and ARIAGridCellAccessible::IsTableCell() returns true due to mGenericTypes. Invalid cells don't get an ARIAGridCellAccessible, so IsTableCell() returns false on those. 5. We also keep the code in ARIAGridCellAccessible to expose some states and attributes. 6. The code for creating ARIAGridCellAccessible in CreateAccessible has been refactored, both for simplification and to fix bugs. display: contents tables now properly get the table and table cell interfaces; i.e. IsTable() and IsTableCell() return true when appropriate. Walking non-generic ancestors should fix ARIA tables with intervening generics, though this will be dealt with fully in a separate bug. Differential Revision: https://phabricator.services.mozilla.com/D179801 |
||
---|---|---|
.. | ||
Accessible.cpp | ||
Accessible.h | ||
HyperTextAccessibleBase.cpp | ||
HyperTextAccessibleBase.h | ||
moz.build | ||
TableAccessibleBase.h | ||
TableCellAccessibleBase.h |