• kristipark's avatar
    [NTP] Improve accessibility for MV tiles and custom links · c2111e06
    kristipark authored
    - Remove outline on click for:
      - Speech microphone icon
      - Shortcut
      - Edit link icon
      - Edit link dialog buttons
    - Fix icon for restore default:
      - https://screenshot.googleplex.com/iVG7ohvNcXUp.png
    - Prevent keyboard navigation to disabled "Restore default..." options.
    - Keyboard navigation will start at edit dialog after it opens.
    - Show add shortcut title for adding instead of edit shortcut.
    - Can tab to add shortcut button.
    - Keyboard navigation will remain within the edit shortcut dialog when
      open.
    - Remove dark gray on click for the edit icon when dark theme/custom
      background.
    - Clicking "Done" without modifying anything closes the dialog.
    - Allow screen reader to move left/right through the links and edit link
      icons. (User must first use ctrl+shift+opt+down to enter the iframe).
    - Prefill URL field with "https://". Text will turn dark gray on text
      input.
      - https://screenshot.googleplex.com/oBJNX4KHxeq.png
      - https://screenshot.googleplex.com/YpbDqiz0hkM.png
    - Added labels to all buttons for screen readers ("name" attribute).
      - Edit = "Edit shortcut <title>"
      - Delete = "Remove <title>"
      - Cancel = "Cancel"
      - Edit icon = "Edit shortcut <title>"
    
    Bug: 864357
    Change-Id: Ie33248a0f633180e81e7a55373b06fb564f5596a
    Reviewed-on: https://chromium-review.googlesource.com/1161096
    Commit-Queue: Kristi Park <kristipark@chromium.org>
    Reviewed-by: default avatarMathieu Perreault <mathp@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#580949}
    c2111e06
custom_backgrounds.css 10.1 KB