[Multidevice] Add title to multidevice setup dialog
The multidevice setup dialog is run in a separate window with a new html head/body as a non-modal dialog/window. The <head> element did not have a <title> element which caused ChromeVox to read "Web Content" as the page title. This CL adds a localized dialog title as a <title> element to the <head> element. The ARIA spec does not allow using something like role="dialog" on <title>, <head>, or <body> so we have no easy way to make accessibility announce the window as a dialog. To work around this, we explicitly add "- Dialog" to the title to give a pause and read like it would for an in-window dialog. This is done based on related advice here: https://groups.google.com/a/google.com/g/cros-system-services/c/2YRC80T875M Fixed: 1005994 Change-Id: I4e7c6963961711449c83374482b37430c57b818d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1914902Reviewed-by:Scott Violet <sky@chromium.org> Reviewed-by:
Ryan Hansberry <hansberry@chromium.org> Commit-Queue: James Vecore <vecore@google.com> Cr-Commit-Position: refs/heads/master@{#715541}
Showing
Please register or sign in to comment