• Yue Zhang's avatar
    Add contentDescription for container view in TabGridDialog · 310fc324
    Yue Zhang authored
    This CL adds contentDescription to the dialog_container_view in
    TabGridDialog. By adding this, we also fix the issue of the dialog
    auto-focusing on dialog toolbar back button when dialog opens. This bug
    is because that without a contentDescription, dialog container view will
    shift its focus automatically to its first "announce-able" child view
    which is the back button and announce that in a11y mode. After this CL,
    it will focus on the whole dialog and make the correct announcement
    instead.
    
    Bug: 1111962
    Change-Id: I44e21dd5f8088e9903fa7306d56460ba2fc0feef
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2387198
    Commit-Queue: Yue Zhang <yuezhanggg@chromium.org>
    Auto-Submit: Yue Zhang <yuezhanggg@chromium.org>
    Reviewed-by: default avatarWei-Yin Chen (陳威尹) <wychen@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#803677}
    310fc324
lint-suppressions.xml 26 KB