E-mail List Archives
Re: Dot Leaders Should Be Seen, but Not heard
From: JP Jamous
Date: Apr 14, 2021 9:24AM
- Next message: Swift, Daniel P.: "Re: Dot Leaders Should Be Seen, but Not heard"
- Previous message: Mark Harcourt: "Re: Dot Leaders Should Be Seen, but Not heard"
- Next message in Thread: Swift, Daniel P.: "Re: Dot Leaders Should Be Seen, but Not heard"
- Previous message in Thread: Mark Harcourt: "Re: Dot Leaders Should Be Seen, but Not heard"
- View all messages in this Thread
Mark,
Why did you choose to use a role attribute on the span? role="dot-leaders"
1. This is not necessary and violates one of the 2 main principles of ARIA. The role here serves no purpose, because you hid the span from assistive technologies. Automated tools such as Axe or Wave, might call that as a warning, because you are hijacking the span element.
2. The role attribute has specific values that it uses. "dot-leaders" is not one of them that I am aware of. If you are using this as a CSS class, then you are implementing the role value incorrectly.
Those are the only concerns I have noticed by reading quickly through your markup.
=================================================Jean-Pierre Jamous
Principal Digital Accessibility Engineer
Jepelsy LLC
W: (952) 666-2930
M: (952) 666-2930
<EMAIL REMOVED>
"The only limitations in life are those we set for ourselves"
=================================================
- Next message: Swift, Daniel P.: "Re: Dot Leaders Should Be Seen, but Not heard"
- Previous message: Mark Harcourt: "Re: Dot Leaders Should Be Seen, but Not heard"
- Next message in Thread: Swift, Daniel P.: "Re: Dot Leaders Should Be Seen, but Not heard"
- Previous message in Thread: Mark Harcourt: "Re: Dot Leaders Should Be Seen, but Not heard"
- View all messages in this Thread