E-mail List Archives
Re: Web Accesibility and popovers
From:
- Next message: David Engebretson Jr.: "using aria too much"
- Previous message: glen walker: "Re: Web Accesibility and popovers"
- Next message in Thread: Patrick H. Lauke: "Re: Web Accesibility and popovers"
- Previous message in Thread: glen walker: "Re: Web Accesibility and popovers"
- View all messages in this Thread
Thanks, Glen!
This makes sense. I wonder if this should be a bug in the bootstrap
repository.
I am trying to find a way to add dynamically the content, for example
pointing the describedBy to an empty div that I can populate when the
content is needed.
Or using a different set of aria-attributes, like aria-haspopup
On Thu, Apr 11, 2019 at 3:59 PM glen walker < <EMAIL REMOVED> > wrote:
> When I tab to the info button, the tooltip automatically displays but is
> not announced. If I tab again to the x-close button in the tooltip, the
> tooltip disappears as soon as the x-close receives focus.
>
> It looks like you're adding the aria-describedby attribute on the fly.
> When the attribute is added, it won't be announced. I'd have to tab off
> the info button and then back to it to hear the aria-describedby value.
> However, tabbing off the info button causes the tooltip to disappear and
> thus the aria-describedby attribute to be removed. Thus I never hear the
> tooltip.
>
> aria-describedby is only helpful if it exists on your element all the
> time. Don't add it dynamically. The element it points to can be hidden
> (display:none) but the text of the tooltip will still be read when your
> button receives focus (see step 2A -
> https://www.w3.org/TR/accname-1.1/#step2)
>
> Glen
> > > > >
- Next message: David Engebretson Jr.: "using aria too much"
- Previous message: glen walker: "Re: Web Accesibility and popovers"
- Next message in Thread: Patrick H. Lauke: "Re: Web Accesibility and popovers"
- Previous message in Thread: glen walker: "Re: Web Accesibility and popovers"
- View all messages in this Thread