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

Select: <svg> elements with an img role must have an alternative text -[a11y issue] #10986

Closed
1 task done
techie-khushdeep opened this issue Feb 28, 2025 · 3 comments
Closed
1 task done
Assignees
Labels
bug This issue is a bug in the code Medium Prio TOPIC P

Comments

@techie-khushdeep
Copy link

Describe the bug

Hi,
We are using select component in our application. We are getting a11y issue in axe dev tools as well as jest test.
A11y issue: Ensure elements with an img, graphics-document or graphics-symbol role have an accessible text.

Issue screenshot:

Image

official component url: https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/inputs-select--docs

Isolated Example

https://stackblitz.com/edit/github-h2thrpbd-dhjhe67o?file=src%2FApp.tsx

Reproduction steps

  1. Run the application using https://stackblitz.com/edit/github-h2thrpbd-dhjhe67o?file=src%2FApp.tsx
  2. Do the scan using axe browser extension and check the a11y issue.

Expected Behaviour

There should be no a11y issue for component.

Screenshots or Videos

No response

UI5 Web Components for React Version

2.5.0

UI5 Web Components Version

2.5.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

Organization

SAP

Declaration

  • I’m not disclosing any internal or sensitive information.
@techie-khushdeep techie-khushdeep changed the title Select: <svg> elements with an img role must have an alternative text Select: <svg> elements with an img role must have an alternative text -[a11y issue] Feb 28, 2025
@Lukas742
Copy link
Collaborator

Lukas742 commented Mar 3, 2025

Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.

@Lukas742 Lukas742 transferred this issue from SAP/ui5-webcomponents-react Mar 3, 2025
@Todor-ads Todor-ads self-assigned this Mar 5, 2025
@Todor-ads Todor-ads added Medium Prio TOPIC P bug This issue is a bug in the code labels Mar 6, 2025
@Todor-ads
Copy link
Member

Hello @SAP/ui5-webcomponents-topic-p ,
could you please check this issue?
Thanks,
Todor

@yanaminkova yanaminkova assigned yanaminkova and unassigned Todor-ads Mar 13, 2025
@yanaminkova
Copy link
Member

Hello @techie-khushdeep,

The issue was fixed with the following change: #10969
and the PR is included in version v2.9.0-rc.0

You could test it on the following link.

Best regards,
Yana

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug in the code Medium Prio TOPIC P
Projects
Status: Completed
Development

No branches or pull requests

4 participants