You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I notice when the navigation dots are visible but not interactive the aria-label still reads "Go to step 1" etc.
Is this the correct behaviour or should that label be removed to prevent confusion?
The text was updated successfully, but these errors were encountered:
When navigation dots are visible but not interactive, having an aria-label that reads "Go to step 1" can indeed be confusing for users relying on screen readers. The aria-label suggests that the dots are interactive, which might not be the case if they are not clickable.
Best Practices for Accessibility
Remove or Modify Aria-label: If the navigation dots are not interactive, consider removing the aria-label or modifying it to reflect their non-interactive status. For example, you could change the label to "Step 1 (not clickable)" to clarify.
Use aria-disabled: If the navigation dots are part of the tab order and can receive focus, use the aria-disabled="true" attribute to indicate that they are not interactive.
Hide from Assistive Technologies: If the dots should not be part of the navigation experience at all, you might consider using aria-hidden="true" to hide them from screen readers.
Example Adjustment
Here's a conceptual example of how you might adjust the aria-label for non-interactive navigation dots:
It's crucial to ensure that the accessibility features of your application accurately reflect the user interface's behavior. Misleading aria-labels can create confusion and hinder the user experience for those relying on assistive technologies. Adjusting the labels or attributes as suggested can help maintain clarity and accessibility. If you need further assistance with implementation, feel free to ask!
I notice when the navigation dots are visible but not interactive the aria-label still reads "Go to step 1" etc.
Is this the correct behaviour or should that label be removed to prevent confusion?
The text was updated successfully, but these errors were encountered: