Closed
Bug 1211117
Opened 9 years ago
Closed 6 years ago
[Browser] Capitalize text using CSS instead of using capital letters
Categories
(Firefox OS Graveyard :: Gaia::Browser, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: julienw, Unassigned)
References
Details
(Keywords: access)
When using the browser app with the screen reader, the short words in capital letters are spelled instead of read as a word. For example "TOP SITES" is spelt as "Te Oh Pe Sites". The reason is that the text is written in the markup "TOP SITES" instead of for example "Top sites" with a CSS style "text-transform: capitalize". See also http://webaim.org/techniques/fonts/#caps
Comment 1•9 years ago
|
||
We should use a separate string for a11y, written in lower case (e.g. "Top sites") and keep the current string for the UI, because using text-transform is against l10n best practices. https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_content_best_practices#CSS_issues
Reporter | ||
Comment 2•9 years ago
|
||
Got it, thanks. Then do you think that adding an aria label would be the solution ?
Comment 3•9 years ago
|
||
(In reply to Julien Wajsberg [:julienw] (away Oct 1st, 2nd) from comment #0) > When using the browser app with the screen reader, the short words in > capital letters are spelled instead of read as a word. For example "TOP > SITES" is spelt as "Te Oh Pe Sites". > > The reason is that the text is written in the markup "TOP SITES" instead of > for example "Top sites" with a CSS style "text-transform: capitalize". > > See also http://webaim.org/techniques/fonts/#caps I think this is due to the current speech synthesis engine we use. This might change when we switch to a different one. I would suggest not having separate a11y string as an alternative for existing strings.
Comment 5•6 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•