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

Suggestion: shortcode for screenreader output #17

Open
roelvangils opened this issue Oct 13, 2017 · 2 comments
Open

Suggestion: shortcode for screenreader output #17

roelvangils opened this issue Oct 13, 2017 · 2 comments

Comments

@roelvangils
Copy link

Sometimes, I find myself wanting to include a block of text that displays how a screenreader would typically say or announce something (like the computed label of an element or something).

I usually just use a blockquote for that, but maybe it would be nice to have a specal shortcode for this (alongside notes and warnings).

The SR output could be rendered in a speech bubble and / or could have a special 'talking head' icon next to it (indicating this would normally be spoken).

I could probably try to add this shortcode myself (it's not so hard), but I'm not sure if my CSS coding habbits are up to your standards ;)

It's just a thought.

@Heydon
Copy link
Contributor

Heydon commented Oct 13, 2017

@roelvangils I quite like this idea. Maybe just an multi-purpose enhanced blockquote shortcode, specifically for speech which automatically adds curly double quotes?

@roelvangils
Copy link
Author

Sounds great.

Perhaps allow a language parameter (EN, NL, FR) on the shortcode so we can display speech output in other natural languages as well.

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

2 participants