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

Not possible to set a custom aria-label for elements #1164

Open
dimazuien opened this issue Oct 10, 2024 · 0 comments
Open

Not possible to set a custom aria-label for elements #1164

dimazuien opened this issue Oct 10, 2024 · 0 comments

Comments

@dimazuien
Copy link

Do you want to request a feature or report a bug?
Feature request

What is the current behavior?
screenshot
Currently, close button and progress bar (and probablly other elements) have aria-labels that can't be replaced with current API. I see that it's possible to set a custom close button and add a label there but I couldn't find anything for a progress bar. The reason I need it is internationalization, I'd like to add non-english labels for it.

What is the expected behavior?

  1. An additional option for CommonOptions that accepts label map for aria-labels and any other text content (more prefferred),
  2. An ability to customize a progress bar the same way as a close button so a different label could be added.
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

No branches or pull requests

1 participant