• Akihiro Ota's avatar
    ChromeVox: Add output rule for the mark role. · 8c11a717
    Akihiro Ota authored
    This change adds an output rule for the mark role.
    If needed, follow-up patches can build off of this change to support
    associated aria-details elements. We also add tests to confirm
    behavior, using sample code provided by the Docs team.
    
    This change also adds a check for non-existent braille strings in
    Msgs.getMsg(), since ChromeVox hits the following error without it:
    
    "Invalid ChromeVox message id: role_content_insertion_brl"
    
    'marked content'.
    
    Fixed: 1126131
    Change-Id: If588b3d018ddcab272a265bb63eb4c6119352781
    AX-Relnotes: ChromeVox announces elements with role=mark as
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2422252
    Commit-Queue: Akihiro Ota <akihiroota@chromium.org>
    Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#819455}
    8c11a717
msgs.js 5.66 KB