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

How to add accessibility tags to errors field #845

Closed
cctorres opened this issue Nov 18, 2022 · 4 comments · May be fixed by TheAutisticTechie/browser#49, TheAutisticTechie/web#64, TheAutisticTechie/web#70 or TheAutisticTechie/browser#79
Assignees

Comments

@cctorres
Copy link

cctorres commented Nov 18, 2022

General information

  • SDK/Library version: ~1.16.0
  • Environment: Sandbox
  • Browser and OS Chrome Version 107.0.5304.110 MacOS 12.6

Issue description

Hi!, for accessibility reasons, I want to add some tags (such as role='alert') to the errors that appear in the dropin. Is this possible to do this similar to the override of the internalLabels done?

Screen Shot 2022-11-18 at 3 56 19 PM

@nidhinarendra
Copy link

Hello @cctorres ,

Would you be able to give us more specific tags you are looking to add?

@cctorres
Copy link
Author

cctorres commented Apr 5, 2023

Hi @nidhinarendra .

I want to add some accessibility tags like 'role="alert"' next to the tag class="braintree-form_field=error" selected in my secoind image

@nidhinarendra
Copy link

Thanks @cctorres

We will look into this and provide an update asap. ( Internal ticket created #7641)

@oscarleonnogales oscarleonnogales self-assigned this Jun 8, 2023
@oscarleonnogales
Copy link
Contributor

Hi @cctorres,

Thank you for bringing this to our attention. We've added the role="alert" tag to these error divs as of version 1.38.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment