Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSTEAMA-1115 - A11y | Fix focus indicator VoiceOver bug on Homepage promos #12285

Open
wants to merge 23 commits into
base: latest
Choose a base branch
from

Conversation

louisearchibald
Copy link
Contributor

@louisearchibald louisearchibald commented Jan 15, 2025

Resolves JIRA [1115]

Overall changes

Implementing a fix for a bug present on Homepage Promos in Safari whereby the screenreader does not announce content as expected when navigating through H3 elements using 'Ctrl + Opt + Right arrow key'. Through some investigation it was determined that the issue was coming from CSS styling being applied through our focus indicator. When the styling is applied directly to the Promo Link, the bug is no longer present.

A similar bug was also present on the Most Read component, so a similar fix has been implemented for this also.

Code changes

  • display: block value applied to the Promo link to fix bug on promos using the Hierarchical Grid & CurationPromo components. Same value applied directly to the link CSS on the Billboard component.
  • display: table-cell value applied directly to MostRead Item CSS and classname removed.
  • Focus indicator classnames removed.

Testing

  1. Has been tested locally, but will also be thouroughly tested with all screenreader AT via the preview environment. The bug was only present on Safari, however we will check on all AT on multiple browsers to ensure nothing else has broken as a result of the above changes.

@louisearchibald louisearchibald self-assigned this Jan 15, 2025
@louisearchibald louisearchibald marked this pull request as ready for review January 16, 2025 12:41
…s' of github.com:bbc/simorgh into WSTEAMA-1115-ally-fix-focus-indicator-on-homepage-promos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants