[Global] Active pagination nav control issues #960
Labels
Category: Accessibility
Bugs found while using assistive technology
Critical Path: 2
Affects some merchants/buyers
Effort: Low
Severity: 3
Normal/Low Severity
Issue summary
The active pagination item features
aria-*
attributes which may not be well supported on the current element. This could lead to a confusing user experience when assistive technology is unable to accurately convey the purpose or state of the element.In addition, the visual treatment of the active, yet inactive control features an underline. This could confuse sighted users into thinking the control is available to be activated.
Screenshots
Current code
HTML
CSS
Steps to reproduce
Behavior
Expected
aria-*
to be applied to supported elements.Actual
aria-*
attributes are applied to low-supported elements.Recommendation
span
element for ana
.role
attribute, setting its value tolink
– helps to share semantic meaning.aria-disabled
attribute, setting its value totrue
– helps to share element state.light
class. Use the[role="link"]:not([href])
selector for additional visual styling.Recommended code
HTML
Specifications
The text was updated successfully, but these errors were encountered: