diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-01-30 20:44:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-30 20:44:54 -0500 |
commit | 9e83faa02c136da9e4749b696d8c7a0b363c0745 (patch) | |
tree | aa0b5d7f4ee78a870da84e80e4eef266c2485570 /ext/bg/settings.html | |
parent | 60c38ab83c429d9e4853dbd4ea9fa06eb8f9efa6 (diff) |
Html lint (#1336)
* Move style rules
* Fix non-unique IDs
* Remove erroneous ids
* Add title
* Fix invalid closing tag
* Install html-validate
* Add .htmlvalidate.json
* Update HTML and styles
* Add test-lint-html
* Update test files
* Update test-lint-html/css commands to have more explicit targets
Diffstat (limited to 'ext/bg/settings.html')
-rw-r--r-- | ext/bg/settings.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/bg/settings.html b/ext/bg/settings.html index 2ccb7a1e..b0a44437 100644 --- a/ext/bg/settings.html +++ b/ext/bg/settings.html @@ -2,7 +2,7 @@ <html lang="en"> <head> <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width,initial-scale=1" /> + <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Yomichan Options (Old)</title> <link rel="icon" type="image/png" href="/mixed/img/icon16.png" sizes="16x16"> <link rel="icon" type="image/png" href="/mixed/img/icon19.png" sizes="19x19"> @@ -458,10 +458,10 @@ <div class="checkbox options-advanced"> <strong>Prevent middle mouse button actions on:</strong> <div style="margin-left: 1em;"> - <label><input type="checkbox" id="deep-dom-scan" data-setting="scanning.preventMiddleMouse.onWebPages"> Webpages</label><br> - <label><input type="checkbox" id="deep-dom-scan" data-setting="scanning.preventMiddleMouse.onPopupPages"> Popups</label><br> - <label><input type="checkbox" id="deep-dom-scan" data-setting="scanning.preventMiddleMouse.onSearchPages"> Search page</label><br> - <label><input type="checkbox" id="deep-dom-scan" data-setting="scanning.preventMiddleMouse.onSearchQuery"> Search query</label><br> + <label><input type="checkbox" data-setting="scanning.preventMiddleMouse.onWebPages"> Webpages</label><br> + <label><input type="checkbox" data-setting="scanning.preventMiddleMouse.onPopupPages"> Popups</label><br> + <label><input type="checkbox" data-setting="scanning.preventMiddleMouse.onSearchPages"> Search page</label><br> + <label><input type="checkbox" data-setting="scanning.preventMiddleMouse.onSearchQuery"> Search query</label><br> </div> </div> @@ -702,7 +702,7 @@ <div class="ignore-form-changes"> <div> - <img src="/mixed/img/spinner.gif" class="pull-right" id="dictionary-spinner" alt hidden> + <img src="/mixed/img/spinner.gif" class="pull-right" id="dictionary-spinner" alt="" hidden> <h3>Dictionaries</h3> </div> @@ -886,7 +886,7 @@ <div> <button class="btn btn-default" id="storage-refresh"><span class="btn-inner-middle">Refresh</span></button> - <button class="btn btn-default ignore-form-changes" id="storage-persistent-button" hidden><span class="storage-button-inner"><input type="checkbox" class="btn-inner-middle storage-button-checkbox" id="storage-persistent-checkbox" readonly /><span class="btn-inner-middle">Persistent Storage</span></span></button> + <button class="btn btn-default ignore-form-changes" id="storage-persistent-button" hidden><span class="storage-button-inner"><input type="checkbox" class="btn-inner-middle storage-button-checkbox" id="storage-persistent-checkbox" readonly><span class="btn-inner-middle">Persistent Storage</span></span></button> </div> <p></p> @@ -908,7 +908,7 @@ <div> <div> - <img src="/mixed/img/spinner.gif" class="pull-right" id="anki-spinner" alt hidden> + <img src="/mixed/img/spinner.gif" class="pull-right" id="anki-spinner" alt="" hidden> <h3>Anki Options</h3> </div> @@ -1264,7 +1264,7 @@ countless hours that I have devoted to this extension. </p> <p> - <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4DBTN9A3CUAFN" target="_blank" rel="noopener"><img src="/bg/img/paypal.gif" alt></a> + <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4DBTN9A3CUAFN" target="_blank" rel="noopener"><img src="/bg/img/paypal.gif" alt=""></a> </p> </div> |