WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Dot Leaders Should Be Seen, but Not heard

for

From: JP Jamous
Date: Apr 12, 2021 12:56PM


Mark,

You can use a span with aria-hidden="true" that holds the leaders, which would fall within the parent span. Example:
<span>
Chapter 1
<span aria-hidden="true">
------------------------------
</span>
Page 5
</span>
Screen readers would only read "Chapter 1, Page 5"





=================================================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"
=================================================