question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom Fonts: Improve Accessibility on Settings screen

See original GitHub issue

Bug Description

In #9966 we added a custom fonts section to the settings screen, to allow adding custom fonts by URL. It did not contain any a11y work, but there was also no follow-up ticket for that yet.

This feature right now is completely unusable with keyboard or assistive technologies. It’s impossible to tab into it in the first place.

Expected Behaviour

The Current Fonts list needs proper role="list" and role="listitem" attributes and keyboard support so that users can tab into it, select fonts using ArrowUp/ArrowDown keys and delete a font using the keyboard as well.

Steps to Reproduce

Screenshots

Screenshot 2022-03-10 at 18 53 07 Screenshot 2022-03-10 at 18 53 01

Additional Context

  • Plugin Version: 1.18.0
  • WordPress Version: 5.9
  • Operating System: macOS
  • Browser: Chrome

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
swissspidycommented, Mar 15, 2022

IIRC in a listbox there always needs to be a selected element. Even before focus and even when tabbing out of it.

My Preferred Languages WP plugin does that, if looking for inspiration.

0reactions
BrittanyIRLcommented, Mar 21, 2022

@timarney is this where the failing e2e tests are getting flagged? https://github.com/GoogleForCreators/web-stories-wp/runs/5630868893?check_suite_focus=true#step:9:27

I’m trying to figure out the best path forward for making sure that enabling the floating menu isn’t messing with other tests. If what you’re working on will solve it then I will sit tight. Please let me know. thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change text and display settings - Android accessibility Help
Change text and display settings ; Use bold fonts · Tap Accessibility and then Display size and text. Turn Bold text on or...
Read more >
Accessibility setting that every App to support | by Gokul G
Supporting custom fonts​​ A utility object for obtaining custom fonts that scale to support Dynamic Type. We can categories our UI component into ......
Read more >
Six steps to make your social media content more accessible
Six steps to make your social media content more accessible · 1. Add alt text · 2. Beware of custom fonts and excessive...
Read more >
Do Dyslexia Fonts Improve Accessibility?
Dyslexia fonts are specialized typefaces intended to improve reading comprehension. However, they're not a magic bullet for improving ...
Read more >
How to Change Text Size or Colors - W3C
It's up to the website owner. It's not an accessibility requirement that websites include information on changing text sizes and colors like this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found