Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide readable label for broken-up elements #50

Open
oliverjam opened this issue Dec 6, 2019 · 0 comments
Open

Provide readable label for broken-up elements #50

oliverjam opened this issue Dec 6, 2019 · 0 comments

Comments

@oliverjam
Copy link

My Voiceover reads the title out as "ess queue.. you ay el...el" (rather than just "squall").

There are two problems: breaking the content up and using all caps.

Screenreaders can treat capitalised content as an acronym, so it reads each letter out separately. You can use text-transform: uppercase to capitalise the text in CSS so the content in the HTML can be lowercase.

Also your h1 content is broken up into multiple spans for styling purposes. This causes screenreaders to treat it as three separate chunks of text, pausing between each. You can fix this by putting an aria-label on the h1, which should make the screenreader read that out instead of the content of the element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant