WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: CSS Live Region

for

From: Dean.Vasile
Date: Jul 30, 2024 3:35PM


Thank you for that.
Because this will also help me learn I appreciate it
Dean Vasile


617-799-1162

> On Jul 30, 2024, at 5:32 PM, Patrick H. Lauke < <EMAIL REMOVED> > wrote:
>
> On 30/07/2024 22:16, <EMAIL REMOVED> wrote:
>> Christine,
>> I hear both you and Patrick and I appreciate that and I can and will stop doing it.
>> However, neither of you have offered a solution to this list to the issue that has been posed.
>> So I accept your constructive criticism. However, what is the answer to the issue?
>
> If you go back to my reply, there's explanation plus two links for the OP's consideration - which will guide them to whichever approach they deem most appropriate.
>
>>>> Just setting
>>>> `aria-pressed` here is not necessarily the answer either, as you then
>>>> get into weird double-negative-style announcements as well. See Have a
>>>> read through https://sarahmhigley.com/writing/playing-with-state/
>>>>
>>>> And yes, one "trick" to make the dynamic change of the label for the
>>>> currently focused control announce consistently sometimes *does* involve
>>>> making the control itself a tiny live region. See
>>>>
>>>> https://adrianroselli.com/2020/12/be-careful-with-dynamic-accessible-names.html
>
> --
> Patrick H. Lauke
>
> * https://www.splintered.co.uk/
> * https://github.com/patrickhlauke
> * https://flickr.com/photos/redux/
> * https://mastodon.social/@patrick_h_lauke
>
> > > >