-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NTP] Remove nesting of a and button in mv tiles
Having a button within an anchor doesn't work well with some screen readers. The goal was to unnest the button from the anchor without changing any functionality or visuals. It should look the same as before. * Made the tile a div instead and put the link within it. * <a> has to have the border radius and full width and height since focus will not technically be on the <a> within the tile rather than on the tile itself. * Updated tests to use the <a> for href checks and to put focus on. * Updated tests to select ".tile" instead of "a" when getting list of tiles. http://screenshot/8sRsM5KeqLroubs Bug: 1309708 Change-Id: I55455d5506afb981d89cff1fae9868a01c8d2a11 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4688456 Reviewed-by: Tibor Goldschwendt <tiborg@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Commit-Queue: Riley Tatum <rtatum@google.com> Cr-Commit-Position: refs/heads/main@{#1185060}
- Loading branch information
Riley Tatum
authored and
Chromium LUCI CQ
committed
Aug 18, 2023
1 parent
0a0bf1e
commit aebb18b
Showing
4 changed files
with
53 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters