Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Unified Diff: chrome/browser/resources/settings/internet_page/network_summary_item.html

Issue 2699713007: MD-Settings: Add a11y label for network summary items. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/settings/internet_page/network_summary_item.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/internet_page/network_summary_item.html
diff --git a/chrome/browser/resources/settings/internet_page/network_summary_item.html b/chrome/browser/resources/settings/internet_page/network_summary_item.html
index 6f1422b473a95c650ee0b6a63c9f13bad9a77a29..85e793951125d1614d6e4f559f7399ffc576d4b7 100644
--- a/chrome/browser/resources/settings/internet_page/network_summary_item.html
+++ b/chrome/browser/resources/settings/internet_page/network_summary_item.html
@@ -56,7 +56,8 @@
<div class="settings-box two-line" actionable on-tap="onDetailsTap_">
<div id="details"
no-flex$="[[showSimInfo_(deviceState)]]">
- <cr-network-list-item item="[[activeNetworkState]]" class="flex">
+ <cr-network-list-item item="[[activeNetworkState]]" class="flex"
+ item-name="{{itemName}}">
</cr-network-list-item>
<paper-spinner active="[[scanningIsActive_(deviceState, expanded_)]]"
hidden$="[[!scanningIsVisible_(deviceState)]]">
@@ -89,6 +90,7 @@
<template is="dom-if" if="[[enableToggleIsVisible_(deviceState)]]">
<div class="secondary-action">
<paper-toggle-button id="deviceEnabledButton"
+ aria-label$="[[itemName]]"
checked="[[deviceIsEnabled_(deviceState)]]"
enabled="[[enableToggleIsEnabled_(deviceState)]]"
on-tap="onDeviceEnabledTap_">
« no previous file with comments | « no previous file | chrome/browser/resources/settings/internet_page/network_summary_item.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698