tofsjonas / sortable

Vanilla JavaScript table sort
The Unlicense
423 stars 49 forks source link

A11y Aria not updating when toggled. #66

Closed swirtSJW closed 11 months ago

swirtSJW commented 11 months ago

In using both https://cdn.jsdelivr.net/gh/tofsjonas/sortable@latest/sortable.min.js https://cdn.jsdelivr.net/gh/tofsjonas/sortable@latest/sortable.a11y.min.js

When a heading is clicked on and the sort changes, the aria does not change

image

Notice the dir-* changes but the aria does not image

This also seems to prevent the aria based css from engaging.

tofsjonas commented 11 months ago

I think this could be a caching issue, dir-d and dir-u aren't used anymore.. 🤔🤞

swirtSJW commented 11 months ago

I cleared my browser cache. I still get the same results. Unless perhaps https://cdn.jsdelivr.net/gh/tofsjonas/sortable@latest/sortable.min.js is cached at the CDN and is outdated? I'm not really sure.

tofsjonas commented 11 months ago

I am unable to reproduce this. 😞

Do you have a link to somewhere where I can see it happening?

swirtSJW commented 11 months ago

This cleared itself up without intervention. I am guessing this was a cdn issue :man_shrugging: Thanks for looking into it. I am closing this issue. Sorry for the confusion.