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

fix(accessibility): Missing images alt for coral card. #366

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mariang-ens
Copy link
Contributor

Description

JIRA Ticket: https://jira.corp.adobe.com/browse/SITES-27153

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.

@@ -378,6 +378,7 @@ const Card = Decorator(class extends BaseComponent(HTMLElement) {
const imagesCount = images.length;
for (let i = 0 ; i < imagesCount ; i++) {
const image = images[i];
image.setAttribute("alt", "");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If alt is already set, it will set that to empty string.

@Pareesh Pareesh changed the title SITES-27153 [Bank of America] - ADA issue #8 - Missing alt tag for images fix(accessibility): Missing images alt for coral card. Nov 29, 2024
@mariang-ens mariang-ens requested a review from Pareesh December 12, 2024 12:59
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.

2 participants