This bug is created from the following [comment](https://bugzilla.mozilla.org/show_bug.cgi?id=1819205#c8) 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.
Bug 1871419 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
This bug is created from the following [comment](https://bugzilla.mozilla.org/show_bug.cgi?id=1819205#c8) 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.