Announce alertdialog hint on Android during dialog creation
This CL modifies the behavior of alertdialogs on Android. With this implementation, during an ALERT event, we will now get the hint of the alertdialog and announce it as live text. The current implementation relies on GetInnerText, which for an alertdialog may be empty. Authors are encouraged to set aria-describedby on an alertdialog to reference the alert message element in the dialog. This description will appear as a hint in GetHint, and so would be announced with this change. In the case that a page author does not include the hint, we will still check GetInnerText as a potential fallback case. Bug: 1114895 AX-Relnotes: Announce alertdialog content on creation Change-Id: I67fbaf86da8c2352bf90f0b8a0d43d9a8499fc8f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2380586 Commit-Queue: Mark Schillaci <mschillaci@google.com> Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#805529}
Showing
Please register or sign in to comment