a11y(flash_message): make them assertive, feedback from a request is the priority.

This commit is contained in:
Martin 2024-02-20 17:26:13 +01:00
parent 11eb0a9c56
commit 6117aa503f

View file

@ -1,4 +1,4 @@
#flash_messages
#flash_messages{ aria: { live: 'assertive' } }
- if flash.any?
#flash_message.center
- flash.each do |key, value|