mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
accessibility fix: swaps header tags for label tags on most recent list (#11189)
* switches header tags on form to label tags * fixes issue according to pr comments
This commit is contained in:
@@ -95,13 +95,13 @@ export default () => `
|
|||||||
<h2>${escape(localize('welcomePage.resources', "Resources"))}</h2>
|
<h2>${escape(localize('welcomePage.resources', "Resources"))}</h2>
|
||||||
<div class="tabs">
|
<div class="tabs">
|
||||||
<input class="input" name="tabs" type="radio" id="tab-1" checked="checked" />
|
<input class="input" name="tabs" type="radio" id="tab-1" checked="checked" />
|
||||||
<label class="label" for="tab-1" tabIndex="0">${escape(localize('welcomePage.history', "History"))}</label>
|
<span class="label" for="tab-1" tabIndex="0">${escape(localize('welcomePage.history', "History"))}</span>
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
<div class="recent history">
|
<div class="recent history">
|
||||||
<div class="flex list-header-container">
|
<div class="flex list-header-container">
|
||||||
<i class="icon-document themed-icon"></i>
|
<i class="icon-document themed-icon"></i>
|
||||||
<h4 class="list-header">${escape(localize('welcomePage.name', "Name"))}</h4>
|
<span tabindex="0" class="list-header"><b>${escape(localize('welcomePage.name', "Name"))}</b></span>
|
||||||
<h4 class="list-header-last-opened">${escape(localize('welcomePage.lastOpened', "Last Opened"))}</h4>
|
<span tabindex="0" class="list-header-last-opened"><b>${escape(localize('welcomePage.lastOpened', "Last Opened"))}</b></span>
|
||||||
</div>
|
</div>
|
||||||
<ul class="list">
|
<ul class="list">
|
||||||
<!-- Filled programmatically -->
|
<!-- Filled programmatically -->
|
||||||
|
|||||||
Reference in New Issue
Block a user