diff options
Diffstat (limited to 'chrome/browser')
3 files changed, 17 insertions, 8 deletions
diff --git a/chrome/browser/resources/chromeos/login/oobe_screen_hid_detection.css b/chrome/browser/resources/chromeos/login/oobe_screen_hid_detection.css index fdab110..4e4da07 100644 --- a/chrome/browser/resources/chromeos/login/oobe_screen_hid_detection.css +++ b/chrome/browser/resources/chromeos/login/oobe_screen_hid_detection.css @@ -52,7 +52,8 @@ #hid-keyboard-tick, #hid-mouse-tick { - left: -20px; + -webkit-margin-start: -28px; + bottom: -20px; position: relative; visibility: hidden; } @@ -61,6 +62,10 @@ opacity: 0.6 } +#hid-detection #hid-keyboard-pincode { + padding: 10px 0 20px 40px; +} + .searching #hid-keyboard-label-searching, .searching #hid-mouse-label-searching, .connected #hid-keyboard-label-connected, diff --git a/chrome/browser/resources/chromeos/login/oobe_screen_hid_detection.html b/chrome/browser/resources/chromeos/login/oobe_screen_hid_detection.html index b54ac5d..84208d2 100644 --- a/chrome/browser/resources/chromeos/login/oobe_screen_hid_detection.html +++ b/chrome/browser/resources/chromeos/login/oobe_screen_hid_detection.html @@ -1,4 +1,5 @@ -<div class="step hidden" id="hid-detection" hidden> +<div class="step hidden" id="hid-detection" hidden role="group" + i18n-values="aria-label:hidDetectionInvitation"> <div class="step-contents"> <div id="hid-invitation-text" i18n-content="hidDetectionInvitation"></div> <div id="hid-prerequisite-msg" i18n-content="hidDetectionPrerequisites"> @@ -11,13 +12,13 @@ alt=""> </div> <div id="hid-mouse-label"> - <span id="hid-mouse-label-searching" + <span id="hid-mouse-label-searching" aria-live="polite" i18n-content="hidDetectionMouseSearching" class="label"> </span> - <span id="hid-mouse-label-connected" + <span id="hid-mouse-label-connected" aria-live="polite" i18n-content="hidDetectionUSBMouseConnected" class="label"> </span> - <span id="hid-mouse-label-paired" + <span id="hid-mouse-label-paired" aria-live="polite" i18n-content="hidDetectionBTMousePaired" class="label"> </span> </div> @@ -30,13 +31,13 @@ src="chrome://theme/IDR_BLUETOOTH_PAIRING_TICK" alt=""> </div> <div id="hid-keyboard-label"> - <span id="hid-keyboard-label-searching" + <span id="hid-keyboard-label-searching" aria-live="polite" i18n-content="hidDetectionKeyboardSearching" class="label"> </span> - <span id="hid-keyboard-label-connected" + <span id="hid-keyboard-label-connected" aria-live="polite" i18n-content="hidDetectionUSBKeyboardConnected" class="label"> </span> - <span id="hid-keyboard-label-paired" class="label"> + <span id="hid-keyboard-label-paired" class="label" aria-live="polite"> </span> <span id="hid-keyboard-label-pairing" class="label"></span> </div> diff --git a/chrome/browser/resources/chromeos/login/oobe_screen_hid_detection.js b/chrome/browser/resources/chromeos/login/oobe_screen_hid_detection.js index f038c96..78c2564 100644 --- a/chrome/browser/resources/chromeos/login/oobe_screen_hid_detection.js +++ b/chrome/browser/resources/chromeos/login/oobe_screen_hid_detection.js @@ -132,6 +132,9 @@ login.createScreen('HIDDetectionScreen', 'hid-detection', function() { var pincodeSymbol = $('hid-keyboard-pincode-sym-' + (i + 1)); pincodeSymbol.textContent = data['pincode'][i]; } + announceAccessibleMessage( + data['keyboard-label'] + ' ' + data['pincode'] + ' ' + + loadTimeData.getString('hidDetectionBTEnterKey')); } } else if (state == 'update') { if ('keysEntered' in data) { |