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

Unified Diff: chrome/browser/resources/chromeos/login/oobe_buttons.html

Issue 2718133004: ChromeOS OOBE: More accessibility fixes. (Closed)
Patch Set: Update after review 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
Index: chrome/browser/resources/chromeos/login/oobe_buttons.html
diff --git a/chrome/browser/resources/chromeos/login/oobe_buttons.html b/chrome/browser/resources/chromeos/login/oobe_buttons.html
index f3d0e7b832df5d42b08bf2aad1bdcf8d010fff66..df4e93e19f588ccecab71b932c4adc1aab952f9d 100644
--- a/chrome/browser/resources/chromeos/login/oobe_buttons.html
+++ b/chrome/browser/resources/chromeos/login/oobe_buttons.html
@@ -37,13 +37,13 @@
Attributes:
'disabled' - button is disabled when the attribute is set.
'inverse' - makes text white and background blue
- 'aria-label' - accessibility label.
+ 'label-for-aria' - accessibility label.
-->
<dom-module id="oobe-text-button">
<link rel="stylesheet" href="oobe_text_button.css">
<template>
<paper-button id="textButton" on-tap="onClick_" disabled="[[disabled]]"
- inverse$="[[inverse]]" aria-label$="[[ariaLabel]]">
+ inverse$="[[inverse]]" aria-label$="[[labelForAria]]">
<div id="container"
class="flex layout horizontal center center-justified self-stretch">
<content></content>
@@ -62,13 +62,13 @@
Attributes:
'disabled' - button is disabled when the attribute is set.
- 'aria-label' - accessibility label.
+ 'label-for-aria' - accessibility label.
-->
<dom-module id="oobe-back-button">
<link rel="stylesheet" href="oobe_nav_button.css">
<template>
<paper-button id="button" on-tap="onClick_" disabled="[[disabled]]"
- aria-label$="[[ariaLabel]]">
+ aria-label$="[[labelForAria]]">
<div class="flex horizontal layout start center">
<iron-icon icon="oobe-buttons:arrow-back"></iron-icon>
<div id="text" i18n-content="back"></div>
@@ -99,12 +99,12 @@
Attributes:
'icon' - a name of icon from material design set to show on button.
- 'aria-label' - accessibility label.
+ 'label-for-aria' - accessibility label.
-->
<dom-module id="oobe-welcome-secondary-button">
<link rel="stylesheet" href="oobe_welcome_secondary_button.css">
<template>
- <paper-button id="button" aria-label$="[[ariaLabel]]">
+ <paper-button id="button" aria-label$="[[labelForAria]]">
<div id="container" class="flex layout vertical center self-stretch">
<div id="subcontainer"
class="flex layout horizontal center self-stretch">
« no previous file with comments | « chrome/browser/resources/chromeos/login/oobe_a11y_option.js ('k') | chrome/browser/resources/chromeos/login/oobe_buttons.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698