symfony / ux

Symfony UX initiative: a JavaScript ecosystem for Symfony
https://ux.symfony.com/
MIT License
814 stars 298 forks source link

[LiveComponent] auto-add `aria-busy="true"` during re-render #1438

Open kbond opened 7 months ago

kbond commented 7 months ago

Something Ryan brought up in his livestream. I think this would help with accessibility but also allows styling loading state without using live-component specific stuff (https://tailwindcss.com/docs/hover-focus-and-other-states#aria-states).

smnandre commented 7 months ago

... and role="status" on the loaders

( https://getbootstrap.com/docs/5.0/components/spinners/#about )

carsonbot commented 1 month ago

Thank you for this issue. There has not been a lot of activity here for a while. Has this been resolved?

carsonbot commented 4 weeks ago

Could I get an answer? If I do not hear anything I will assume this issue is resolved or abandoned. Please get back to me <3

smnandre commented 4 weeks ago

Let's keep it open @carsonbot :)

A good handling of busy / live / atomic would be benefit for everyone ... and could also allow us to remove the (almost-useless) css file we expose in this package

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-atomic