Closed julienbechade closed 10 years ago
I forgot to mention, there are only 3 values to update via JS when a tab has been triggered:
aria-describedby
of the related triggered tab.aria-labelledby
takes the ID of the related triggered tab.aria-live
takes the value polite
or assertive
to notify users of the content change.In the case of a search:
<ul class="list" role="tabpanel" id="searched-list" aria-labelledby="search-list" aria-live="polite" aria-atomic="true" aria-relevant="all">
I like the idea of making List.js get along with the WAI-ARIA specification, but aren't all this just dependent on how you implement your list? Or do you mean that List.js should add these stuff to the list on initialization?
Hmm hmm, this is pretty interesting. Do you have any reference-links where I can read more about pros/cons with WAI-ARIA? (no, please not only the W3C-documents :))
This feels lika a cool feature, but maybe overkill. I will consider it thought!
There's this book called Designing with Progressive Enhancement (review of the book) which would be a very handy resource regarding this issue. The site for the book also has lots of information and (code) examples. I might give it a shot if I feel I get some time off.
Oh, I actually owns that book. Maybe I should open it? :D
I would very much appreciate if you would look into this feature @teddyzetterlund !
There are no pros/cons about WAI-ARIA. It's a very real language — W3C candidate recommendation — used to make accessible content for screen readers. Unfortunately, I do not know any good books about the subject. I truly think the W3C's documentation is the best — today. http://www.w3.org/TR/wai-aria-practices/#aria_ex
It's up to you if you want to add it to the list on init but I think you should at least detect if WAI-ARIA is used and provide the solution is yes.
I'll close this issue now, but support for the WAI-ARIA specification is added to the backlog and it may be added in the future :)
Any movement on this issue? Or does anyone have a fork with the added aria language?
Just checking in to see if there is any progress made on this issue. I'm thinking of using the pagination in a project but it has to include accessibility features like aria labels. Is there a pre-release ranch that I might be able to help out on?
Wouldn't it be perfect to make list.js accessible according to W3C's specifications http://www.w3.org/TR/wai-aria/ All the cool kids talk about it.
It's not really complicated, you have to:
I think that's it, I'll update if I come by anything more. We can move the discussion on Twitter if you want any more help.
Will you consider this issue ?