Skip to content

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

Merged
brandonkelly merged 6 commits into5.6from
feature/pt-1314-globe-icon-is-hidden-from-screen-readers-but-its-purpose-is
Nov 18, 2024
Merged

Updates iconSvg to allow for alternative text and adds alt text for multi-site globe icon#16128
brandonkelly merged 6 commits into5.6from
feature/pt-1314-globe-icon-is-hidden-from-screen-readers-but-its-purpose-is

Conversation

@gcamacho079
Copy link
Copy Markdown
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
@linear
Copy link
Copy Markdown

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