set aria-hidden for a non-visible control (#12607)

This commit is contained in:
Alan Ren
2020-09-24 10:13:40 -07:00
committed by GitHub
parent 2673eb2c1d
commit 96ea3d8273

View File

@@ -94,8 +94,8 @@ export default () => `
<div class="resources-container">
<h2>${escape(localize('welcomePage.resources', "Resources"))}</h2>
<div class="tabs">
<!-- Checkbox is not accessible to user yet, this feature is still in development -->
<input tabindex="-1" class="input" name="tabs" type="radio" id="tab-1" checked="checked" />
<!-- Radio button is not accessible to user yet, this feature is still in development -->
<input tabindex="-1" aria-hidden="true" class="input" name="tabs" type="radio" id="tab-1" checked="checked" />
<span id="historyLabel" class="label" for="tab-1" tabIndex="0" role="tab">${escape(localize('welcomePage.history', "History"))}</span>
<div class="panel">
<div class="recent history">