Commit e116e63a authored by John Lee's avatar John Lee Committed by Commit Bot

Settings WebUI: Fix multidevice radio buttons focus

With crrev.com/650435, focus and other accessibility attributes were
moved to the radio button itself instead of the host element.

Change-Id: I42cf86b2ea4bb67cb55add00dc6602e692a8800c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1706909Reviewed-by: default avatarEsmael Elmoslimany <aee@chromium.org>
Commit-Queue: John Lee <johntlee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#678404}
parent 49bdbad7
...@@ -30,7 +30,15 @@ ...@@ -30,7 +30,15 @@
} }
</style> </style>
<div class="disc-wrapper"> <div
aria-checked$="[[getAriaChecked_(checked)]]"
aria-disabled$="[[getAriaDisabled_(disabled)]]"
aria-labelledby="labelWrapper"
class="disc-wrapper"
id="button"
role="radio"
tabindex="0"
on-keydown="onInputKeydown_">
<div class="disc-border"></div> <div class="disc-border"></div>
<div class="disc"></div> <div class="disc"></div>
</div> </div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment