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

Updates iconSvg to allow for alternative text and adds alt text for multi-site globe icon #16128

Conversation

gcamacho079
Copy link
Contributor

Description

  • Adds class constant for title tag regex, and uses in sanitizeSvg method and iconSvg method
  • Updates iconSvg method to allow for setting alternative text on an icon SVG
  • Adds alternative text to functional globe icon in breadcrumbs

Related issues

Resolves PT-1314

Lupe Camacho added 3 commits November 14, 2024 14:31
…d title tag regex to html class and use in sanitizeSvg fxn, update crumbs to use accessible name for globe icon
@gcamacho079 gcamacho079 added the accessibility 👤 features related to accessibility label Nov 15, 2024
Copy link

linear bot commented Nov 15, 2024

@brandonkelly brandonkelly merged commit 75fe0e5 into 5.6 Nov 18, 2024
@brandonkelly brandonkelly deleted the feature/pt-1314-globe-icon-is-hidden-from-screen-readers-but-its-purpose-is branch November 18, 2024 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility 👤 features related to accessibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants