add role for history tab (#12608)

This commit is contained in:
Alan Ren
2020-09-24 09:30:47 -07:00
committed by GitHub
parent dd22b195bd
commit 47532f1287

View File

@@ -96,7 +96,7 @@ export default () => `
<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" />
<span id="historyLabel" class="label" for="tab-1" tabIndex="0">${escape(localize('welcomePage.history', "History"))}</span>
<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">
<div class="flex list-header-container">