mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
WebUI: check buttons to have valid text (or assistive text)
It helps people using assistive technology. https://stackoverflow.com/a/22040485
This commit is contained in:
parent
7e8e6269d0
commit
0fd24358ce
3 changed files with 3 additions and 5 deletions
|
@ -6,7 +6,6 @@
|
|||
"long-title": "off",
|
||||
"no-inline-style": "off",
|
||||
"prefer-button": "off",
|
||||
"text-content": "off",
|
||||
"void-style": "off",
|
||||
"wcag/h63": "off",
|
||||
"wcag/h71": "off"
|
||||
|
|
|
@ -89,8 +89,7 @@
|
|||
<br />
|
||||
|
||||
<p> QBT_TR(Are you sure you want to remove the selected torrents from the transfer list?)QBT_TR[CONTEXT=HttpServer]</p>
|
||||
<button id="rememberBtn" type="button" title="Remember choice" style="vertical-align: middle; padding: 4px 6px;">
|
||||
</button>
|
||||
<button id="rememberBtn" type="button" title="QBT_TR(Remember choice)QBT_TR[CONTEXT=HttpServer]" aria-label="QBT_TR(Remember choice)QBT_TR[CONTEXT=HttpServer]" style="vertical-align: middle; padding: 4px 6px;"></button>
|
||||
<input type="checkbox" id="deleteFromDiskCB" /> <label for="deleteFromDiskCB"><i>QBT_TR(Also remove the content files)QBT_TR[CONTEXT=confirmDeletionDlg]</i></label><br /><br />
|
||||
<div style="text-align: right;">
|
||||
<input type="button" id="cancelBtn" value="QBT_TR(Cancel)QBT_TR[CONTEXT=MainWindow]" /> <input type="button" id="confirmBtn" value="QBT_TR(Remove)QBT_TR[CONTEXT=MainWindow]" />
|
||||
|
|
|
@ -136,8 +136,8 @@
|
|||
<div id="leftRssDownloaderColumn">
|
||||
<div id="topMenuBar">
|
||||
<b id="rulesTableDesc">QBT_TR(Download Rules)QBT_TR[CONTEXT=AutomatedRssDownloader]</b>
|
||||
<button type="button" id="newRuleButton" class="imageButton" onclick="qBittorrent.RssDownloader.addRule()"></button>
|
||||
<button type="button" id="deleteRuleButton" class="imageButton" onclick="qBittorrent.RssDownloader.removeSelectedRule()"></button>
|
||||
<button type="button" id="newRuleButton" aria-label="QBT_TR(Add rule)QBT_TR[CONTEXT=AutomatedRssDownloader]" class="imageButton" onclick="qBittorrent.RssDownloader.addRule()"></button>
|
||||
<button type="button" id="deleteRuleButton" aria-label="QBT_TR(Remove rule)QBT_TR[CONTEXT=AutomatedRssDownloader]" class="imageButton" onclick="qBittorrent.RssDownloader.removeSelectedRule()"></button>
|
||||
</div>
|
||||
<div id="rulesTable">
|
||||
<div id="rulesSelectionCheckBoxList">
|
||||
|
|
Loading…
Reference in a new issue