mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
Bug 1562194 - update <fieldset> no name from legend text label audit rule from failure to warning. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D36761 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
459cd85753
commit
724ec6a79b
@ -190,7 +190,7 @@ const formGroupingRule = function(accessible) {
|
||||
isVisible(label));
|
||||
|
||||
return hasNameFromLegend ? null : {
|
||||
score: FAIL,
|
||||
score: WARNING,
|
||||
issue: FORM_FIELDSET_NO_NAME_FROM_LEGEND,
|
||||
};
|
||||
default:
|
||||
|
@ -193,9 +193,9 @@ add_task(async function() {
|
||||
["<fieldset> with no <legend>", "#fieldset-3",
|
||||
{ score: FAIL, issue: FORM_FIELDSET_NO_NAME }],
|
||||
["<fieldset> with aria-label", "#fieldset-4",
|
||||
{ score: FAIL, issue: FORM_FIELDSET_NO_NAME_FROM_LEGEND }],
|
||||
{ score: WARNING, issue: FORM_FIELDSET_NO_NAME_FROM_LEGEND }],
|
||||
["<fieldset> with aria-labelledby", "#fieldset-5",
|
||||
{ score: FAIL, issue: FORM_FIELDSET_NO_NAME_FROM_LEGEND }],
|
||||
{ score: WARNING, issue: FORM_FIELDSET_NO_NAME_FROM_LEGEND }],
|
||||
["Empty <h1>", "#heading-1", { score: FAIL, issue: HEADING_NO_NAME }],
|
||||
["<h1> with inner content", "#heading-2", null],
|
||||
["<h1> with white space inner content", "#heading-3",
|
||||
|
Loading…
Reference in New Issue
Block a user