Closed Bug 1871419 Opened 9 months ago Closed 8 months ago

[meta] Translate Relevant Attributes in Full Page Translations

Categories

(Firefox :: Translations, task, P3)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: nordzilla, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: meta)

This bug is created from the following comment on Bug 1819205:

This is a great new feature!

Is there a reason why attribute translation was tracked per attribute? There’s a whole bunch of attributes that are exposed to the user. Most importantly those that are exposed via the accessibility API.

A question whether ARIA attributes should be translated, led me to creating an—as far as I know—exhaustive list based on the standards.

Leaving out OpenGraph meta data, which is most likely not exposed to the user:

  • alt attributes and title, also for <iframes> or <style> elements
  • label for video tracks
  • placeholder and pattern attributes if the format needs localization
  • value of inputs if not user-defined
  • Human-readable ARIA attributes aria-description, aria-label, aria-placeholder, aria-roledescription, aria-valuetext, aria-braillelabel
  • And also text added by CSS’s pseudo-elements like ::before

Would it make sense to track the whole bunch here?

Thanks!


Bug 1819205 laid down some infrastructure to translate attributes, starting with title and placeholder.

We should now work on extending this functionality to include other attributes such as the ones listed above.

Blocks: 1865367

I don't think this needs to be a meta bug. I'm closing in favor of:

Bug 1878710
Bug 1878712

(I also missed this one, and filed the others which have more detail)

Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.