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

Refactor availity/progress to use native progress element #1158

Open
bjnewman opened this issue Oct 3, 2022 · 1 comment
Open

Refactor availity/progress to use native progress element #1158

bjnewman opened this issue Oct 3, 2022 · 1 comment
Assignees

Comments

@bjnewman
Copy link
Contributor

bjnewman commented Oct 3, 2022

🚀 Feature request

Current Behavior

Our current progress bar implementation defaults to using a div and span and adding aria roles for accessibility.

Desired Behavior

We should use native html elements when possible for better accessibility.

Suggested Solution

Replace the progress component with the native element and add styles as needed

Who does this impact? Who is this for?

All users, especially those using accessibility tools

Describe alternatives you've considered

The current implementation works fine and does resolve most accessibility issues with aria attributes.

Additional context

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/progressbar_role
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress

@nylon22 nylon22 assigned nylon22 and unassigned nylon22 Oct 17, 2022
@nylon22
Copy link
Member

nylon22 commented Jun 4, 2023

I believe this will require an update to the UI kit in order for the styling to take effect on the progress element.

@nylon22 nylon22 self-assigned this Jun 4, 2023
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

2 participants