web-platform-tests/interop-accessibility

Organize Test Writing Priority by Feature Usage…

cookiecrook opened this issue · 5 comments

Organize 2024 Investigation Test Writing Priority by Feature Usage…

In addition to some of the new WebDriver or testability explorations, we should investigate future accessibility test writing priority by most used features.

For example, Chrome Feature Status logging seems to indicate aria-hidden is the most used ARIA feature, included on ~86% of page loads. Even though we can't test aria-hidden directly yet, we could probably write some tests that combine label or role computation with aria-hidden to find our where the most import aria-hidden-related interop challenges are.

Ditto for some other features.

We can also look at the State of HTML survey results for pain points with ARIA features.

ARIA features by page load usage in descending order from https://chromestatus.com/metrics/feature/popularity

ARIAHiddenAttribute (86%)
ARIALabelAttribute (67%)
ARIAExpandedAttribute (48%)
ARIALabelledByAttribute (43%)
ARIALiveAttribute (41%)
ARIAHasPopupAttribute (41%)
ARIAControlsAttribute (37%)
ARIADescribedByAttribute (27%)
ARIAAtomicAttribute (26%)

< 25%
ARIADisabledAttribute
ARIACheckedAttribute
ARIAAutocompleteAttribute
ARIAModalAttribute
ARIACurrentAttribute
ARIASelectedAttribute
ARIAValueTextAttribute
ARIAOwnsAttribute
ARIALevelAttribute
ARIAPressedAttribute
ARIAValueMinAttribute
ARIAValueMaxAttribute
ARIAValueNowAttribute
ARIAActiveDescendantAttribute
ARIARelevantAttribute
ARIABusyAttribute

< 5%
ARIAKeyShortcutsAttribute 
ARIAInvalidAttribute
ARIAGrabbedAttribute (deprecated)
ARIARequiredAttribute
ARIAPosInSetAttribute
ARIASetSizeAttribute
ARIAOrientationAttribute
ARIARoleDescriptionAttribute
ARIAReadOnlyAttribute
ARIAMultiselectableAttribute
ARIAMultilineAttribute
ARIADescriptionAttribute
ARIASortAttribute

< 1%
ARIARowCountAttribute
ARIAColIndexAttribute
ARIARowIndexAttribute
ARIADetailsAttribute
ARIAColCountAttribute
ARIAErrorMessageAttribute
ARIAPlaceholderAttribute
ARIADropEffectAttribute (deprecated)

< 0.1%
ARIALabeledByAttribute (non-standard spelling 0.0971%)
ARIAFlowToAttribute
ARIAColSpanAttribute
ARIARowSpanAttribute
ARIAAnnotations
ARIAVirtualcontentAttribute (proposed attr, never standardized)

Even though we can't test aria-hidden directly yet, we could probably write some tests that combine label or role computation with aria-hidden to find our where the most import aria-hidden-related interop challenges are.

Filing this as a standalone issue since it's the only part of this that is not blocked by missing WebDriver features.

Even though this is blocked, I'm hoping it will be unblocked later this year, so adding the 2024-investigation label.

#92 and #93 are prime candidates.