WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Floating Toolbars

for

Number of posts in this thread: 4 (In chronological order)

From: Christine L Holmes
Date: Mon, Mar 20 2023 12:53PM
Subject: Floating Toolbars
No previous message | Next message →

--_004_SA1PR13MB4975286D7E0B3B45614E2596BB809SA1PR13MB4975namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

How do you make floating toolbars keyboard/screen reader accessible.

Thanks
Christine




Accessibility is everyone's business.
________
[cid:image001.png@01D95B22.87DACF20]<https://www.northerntrust.com/>
Christine Holmes, CPACC, CSM, SA
Vice President | Digital Design and Accessibility| Experience Design and Re=
search
50 South La Salle Street, M-8, Chicago, Illinois 60603 USA
+1 312-557-8834 | = EMAIL ADDRESS REMOVED = <mailto: = EMAIL ADDRESS REMOVED = >

Best Private Bank in the U.S.<https://www.northerntrust.com/united-states/p=
r/2021/ft-best-private-bank-us?utm_medium=3Demail&utm_source=3Doutlook&utm_=
campaign=3Dwm-brand-20211103&utm_content=3Dbrand> - Financial Times Group (=
2021)
Best Private Bank for Family Offices<https://www.northerntrust.com/united-s=
tates/pr/2021/ft-best-private-bank-us?utm_medium=3Demail&utm_source=3Doutlo=
ok&utm_campaign=3Dwm-brand-20211103&utm_content=3Dbrand> - Financial Times =
Group (2021)


CONFIDENTIALITY NOTICE: This communication is confidential, may be privileg=
ed and is meant only for the intended recipient. If you are not the intende=
d recipient, please notify the sender ASAP and delete this message from you=
r system.



NTAC:3NS-20

--_004_SA1PR13MB4975286D7E0B3B45614E2596BB809SA1PR13MB4975namp_
Content-Type: image/png; name="image001.png"
Content-Description: image001.png
Content-Disposition: inline; filename="image001.png"; size=3565;
creation-date="Mon, 20 Mar 2023 18:53:07 GMT";
modification-date="Mon, 20 Mar 2023 18:53:07 GMT"
Content-ID: <image001.png@01D95B22.87DACF20>
Content-Transfer-Encoding: base64

iVBORw0KGgoAAAANSUhEUgAAAIYAAAAnCAYAAADKOTDaAAAAGXRFWHRTb2Z0d2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Av5M4F23124f/N+MVJ3Lszrsbwy12QL5iNLz0W04fP13xGJ7GTkXftxgakHbY
RMtf9bt/qvBXsgW4bPvpTk3mm4b2aO/seqXOdqGW7tn17qTuK5ILTc/qCydyB6MOfvO2+w1i4enw
+XLTW8pzoUBUlza5ywxIKYbD63iLwEt7iVf8T9B2yfkaktQawzO5HDyt+veM7HkyKnk59x3n/3+z
yuP43L0kFP9FKqMExJaYdgH6wSuJWepnLcc4KNS9jIbSLNRqjeWVMeDX0AzEyWi9RMLEsyX+3UZX
bR80PlsGXFpaqX5tLEmCEcrNUkSU0UNe0uFWw2P2acinBhkrldwdeSNL6grhGG1/duDDW0ZG7hoZ
7UlFPHZPi2Hi0qQR7tGqHK2IHrXDZbo7mKL9TTAMAbkeyVPahqgmW0MoPk9N534uGBIOei19gXbm
X2qnKHkE418BBgArFjIRHdMBawAAAABJRU5ErkJggg==

--_004_SA1PR13MB4975286D7E0B3B45614E2596BB809SA1PR13MB4975namp_--

From: Patrick H. Lauke
Date: Mon, Mar 20 2023 1:50PM
Subject: Re: Floating Toolbars
← Previous message | Next message →

On 20/03/2023 18:53, Christine L Holmes wrote:
> How do you make floating toolbars keyboard/screen reader accessible.

Assuming by "floating toolbar" you mean something similar to floating
action buttons or similar (where something is constantly visible in a
particular screen location, despite scrolling):

Keep meaning to write some thoughts on this, but in brief, my suggestion
here would be: treat the floating toolbar like a *non-modal* dialog
(sadly, there's no APG pattern for this yet, despite some early
discussions on it - see https://github.com/w3c/aria-practices/issues/599
for instance, others
https://github.com/w3c/aria-practices/issues?q=is%3Aissue+is%3Aopen+non-modal).

At a high level, you navigate through the "main" page as normal, but the
floating toolbar is effectively "hidden" from AT (aria-hidden). When you
switch to it (with `F6` or similar), focus lands inside the toolbar, and
the main page is hidden, and focus is retained inside the floating toolbar.

If instead by "floating toolbar" you mean something more akin to a
sticky header, I'd say design it just as normal if it wasn't sticky.
Optionally, as a nice shortcut, perhaps offer a way to jump directly to
it (like a keyboard shortcut/combination) without having to scroll /
navigate all the way back to the actual start of the page where the
toolbar "lives" in the markup.

P
--
Patrick H. Lauke

https://www.splintered.co.uk/ | https://github.com/patrickhlauke
https://flickr.com/photos/redux/ | https://www.deviantart.com/redux
twitter: @patrick_h_lauke | skype: patrick_h_lauke

From: glen walker
Date: Mon, Mar 20 2023 2:23PM
Subject: Re: Floating Toolbars
← Previous message | Next message →

Side question regarding sticky headers since Patrick mentioned it. I
typically mark them as failing 2.4.7 because I often get into a situation
where my focus is on an element that is "under" the sticky header and I
can't see it. It's usually a medium priority bug but I still fail it. I
usually recommend they have real screen real estate for the sticky header
and not let stuff float underneath it. So the sticky header is a sibling
DOM element to the rest of the page.

From: Patrick H. Lauke
Date: Mon, Mar 20 2023 2:56PM
Subject: Re: Floating Toolbars
← Previous message | No next message

On 20/03/2023 20:23, glen walker wrote:
> Side question regarding sticky headers since Patrick mentioned it. I
> typically mark them as failing 2.4.7 because I often get into a situation
> where my focus is on an element that is "under" the sticky header and I
> can't see it. It's usually a medium priority bug but I still fail it. I
> usually recommend they have real screen real estate for the sticky header
> and not let stuff float underneath it. So the sticky header is a sibling
> DOM element to the rest of the page.

See also the proposed new SCs
https://w3c.github.io/wcag/guidelines/22/#focus-not-obscured-minimum and
https://w3c.github.io/wcag/guidelines/22/#focus-not-obscured-enhanced

and one of the suggested techniques is to provide sufficient scroll
margin (as I did recently on Bootstrap docs, for instance
https://github.com/twbs/bootstrap/pull/37926)

P
--
Patrick H. Lauke

https://www.splintered.co.uk/ | https://github.com/patrickhlauke
https://flickr.com/photos/redux/ | https://www.deviantart.com/redux
twitter: @patrick_h_lauke | skype: patrick_h_lauke