• Nancy Wang's avatar
    Implement the pause/block app accessbility requirement in Shelf. · f760a46e
    Nancy Wang authored
    If the app icon has the pause or block badge, announce 'Paused' or
    'Blocked' for Chrome Vox, when the icon item is selected/focused from
    shelf.
    
    Add the AppStatus to ShelfItem to record whether the app is paused or
    blocked, to announce 'blocked' or 'paused' when the shelf item is
    focused. Example:
    'Gmail button. Blocked' / 'Gmail button. Paused'.
    
    Block badge has higher priority. When the app is paused and blocked,
    set the block badge, and announce 'Blocked'.
    
    Add test cases to verify the change, including the priority for the
    block and pause status.
    
    BUG=1144384
    
    Change-Id: I8a849dae570152634d2f1c2767f37848e8ead474
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2550104
    Commit-Queue: Nancy Wang <nancylingwang@chromium.org>
    Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#829986}
    f760a46e
spoken_feedback_browsertest.cc 40.7 KB