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

function/function inserted into the element button for use in accessibility #1451

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

Conversation

gabriel291-silva
Copy link

…bility applications and automated testing

What is the purpose of this pull request?

I inserted a definition in the component, this modification is for accessibility app

What problem is this solving?

acessibility problems

Copy link

vercel bot commented Mar 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
styleguide ❌ Failed (Inspect) Mar 11, 2025 1:02pm

@leo-prange-vtex
Copy link

Hello @gabriel291-silva , could you describe better how your modification works as well as prints demonstrating its effect?

@gabriel291-silva gabriel291-silva changed the title function/function inserted into the element button for use in accessi… function/function inserted into the element button for use in accessibility Mar 27, 2025
@gabriel291-silva
Copy link
Author

### Description: Function inserted into the button element for accessibility purposes.

For this improvement in the code, I simply added a role and an aria-label so that it could be validated with accessibility software. I will add a screenshot of the before and after, along with a link to the product page. The button being tested is the arrow for the reviews at the bottom of the page.antes :

image

before
image

after
image

workspace de test: https://fixstyleguide--hmartus.myvtex.com/ginger-tea-with-honey-2-2lb-1kg-/p

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