Open Bug 2095010 Opened 11 days ago Updated 3 days ago

Migrate accessible.properties to Fluent and merge the platform-specific files

Categories

(Core :: Disability Access APIs, task)

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.

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.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: