Migrate accessible.properties to Fluent and merge the platform-specific files
Categories
(Core :: Disability Access APIs, task)
Tracking
()
People
(Reporter: flod, Assigned: flod)
References
Details
Attachments
(1 external file)
The strings used by Accessible::TranslateString (localized action names, macOS role descriptions, Windows UIA landmark and control types, the color input value) are split across three platform-specific accessible.properties files (mac, win, unix). The l10n build system can't package files only for some platforms, so all three ship everywhere and need entries in browser_all_files_referenced.js.
The goal of this bug is to merge them into a single dom/accessible.ftl, using the Fluent support that will be added to nsContentUtils in bug 2088603.
| Assignee | ||
Comment 1•3 days ago
|
||
The three per-platform accessible.properties files are merged into
dom/accessible.ftl, shipped on all platforms, with PLATFORM() selecting the
macOS wording where it differs. Strings are formatted through
nsContentUtils::FormatFluentString, and callers pass explicit Fluent IDs
instead of reusing action and landmark names as keys.
Description
•