-
Notifications
You must be signed in to change notification settings - Fork 31
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
role: alert when info-panel is used with dynamics #1023
Comments
org/ssb |
Regner med at hvis man legger på aria-live på denne så vil dette være på alle varianter av denne boksen. dvs alle disse: |
Ja, det tenker jeg. Oppdaterer issuet. Det viktige her er at den kun får den når den følger alert mønsteret. Hvis det er en statisk melding, så burde den ikke ha den rollen, kun om den trigges av noe som brukeren må få med seg. |
Med alert mønsert er det hvis vi legge den med vis skjul funksjonalitet ? At den bare at vil ha aria-live? |
Ja, kanskje best beskrevet i dokumentasjonen til ARIA: alert role
|
Blir denne saken lagt til i noen sprinter i nær framtid? |
Diskusjon om denne, og hvorfor den er satt til blocked:
|
Closing as we will resolve this in #726 |
Description of the bug
We have some situations today where apps use our panel component in combination with dynamics to create an alert component that triggers based on user input. This gives us an accessebility issue where this panel should have an aria alert role so that screen readers also can get this information.
conundrum
We cant just add an alert role on our panels because:
One of the main uses for the panel component is to highlight information on a page, and is often used so that is visible on page load. We need to seperate dynamic alerts and those that is only used to highlight static information.
Also, this is pretty similar to our soft-validation functionality. If we expand the functionality of our panels to handle this, we have to seperate components doing almost the same thing. This might be hard to comunicate the difference between the 2.
One solution is to in some way expand the soft validation so that it meets our appdevelopers needs. Then we can contain this to one consept that is easier to communicate. The other is to add some attribute to the panel that can be set by the app-developer when they use it with dynamics, but then we add alert functionality to a component that maybe should be used as a way of presenting static information, and by having another attribute the app-developer has to worry about, we increase the chance of accessebility issues in apps that use this feature.
Or maybe a developer have a better suggestion on how to solve this? 😇
Small example:
aria alert documentation
Specification
The documentation specifies that you need to be careful with the use of alert as it can be very intrusive for screen reader users. Is there a risk that it might be overused, should the developer be able to turn it of if the information is not that important.
Steps To Reproduce
Go to an app with soft validation and test if it is read by the screen reader when it is triggered.
Additional Information
No response
The text was updated successfully, but these errors were encountered: