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

[Carousel] Remove attribut duplication on "previous" button #2705

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

renow-luxembourg
Copy link
Contributor

Bug Report

Current Behavior :
In the carousel component, we can define a label and an aria-label attribute on carousel control buttons.
It work well on the "Next" button.
On the "Previous" button, we can change only the label, its aria-label attribut isn't customizable.
This causes restitution differences for people using assistive tool (like the NVDA screen reader).

Expected behavior/code :
Keep the same behavior for both "Next" and "Previous" control button.

Environment :

  • AEM 6.5.19
  • Core Components version 2.23.4

Possible Solution :
Removing the aria-label attribut duplication solve the issue.

Copy link

sonarcloud bot commented Mar 28, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@vladbailescu vladbailescu added this to the 2.24.6 milestone Apr 9, 2024
@LSantha LSantha merged commit 22bb3bd into adobe:main Apr 26, 2024
7 of 8 checks passed
@renow-luxembourg
Copy link
Contributor Author

Adobe CLA filled and signed.

@nicolasambroise nicolasambroise deleted the renow_fix_carousel branch May 22, 2024 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants