Add translation support for all relevant HTML attributes
Categories
(Firefox :: Translations, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox130 | --- | fixed |
People
(Reporter: gregtatum, Assigned: gregtatum)
References
(Blocks 3 open bugs, Regressed 1 open bug)
Details
(Keywords: access)
Attachments
(1 file)
Bug 1819205 added support for translating attributes, but not all of them were covered. There are many other relevant attributes. An incomplete list includes:
input[value]
img[alt]
track[label]
[aria-label]
[aria-description]
[aria-label]
[aria-placeholder]
[aria-roledescription]
[aria-valuetext]
[aria-braillelabel]
[title]
Assignee | ||
Comment 1•8 months ago
|
||
I'm following up on https://bugzilla.mozilla.org/show_bug.cgi?id=1819205#c8
Andy: Do you have an example of: label for video tracks
. I looked at the MDN page but was unclear of a live example of one.
placeholder and pattern attributes if the format needs localization
I don't think we would want to change pattern attributes, but the placeholder was already handled in the previous bug.
Assignee | ||
Updated•8 months ago
|
Sure, the label
attribute can be found on the MDN page for the <track>
element: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track#label
<track kind="subtitles" src="sampleSubtitles_de.vtt" srclang="de" label="German" />
If it’s not defined, Firefox will show an entry without any text in the menu for subtitles.
Comment 3•4 months ago
•
|
||
I understand why this has been marked as an enhancement. It's technically not a "bug" in that this is just not something we support yet. However, I think it's important to note that this disproportionately impacts screen reader users (and potentially users of other assistive technology such as voice control) because there are often icons/images where the purpose is clear visually and translation isn't required, but the only exposure to accessibility tools is the alt text, aria-label, etc., making the control effectively unintelligible to those users. This will be treated as a defect by those users, even if we don't see it that way from an engineering standpoint.
Assignee | ||
Comment 4•3 months ago
|
||
Updated•3 months ago
|
Updated•3 months ago
|
Comment 5•3 months ago
|
||
There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:gregtatum, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.
Updated•2 months ago
|
Assignee | ||
Updated•2 months ago
|
Description
•