Skip to content

Commit 0f8a9af

Browse files
authored
fix(listitem): clarify roleNotValid message (#4374)
Editorial fix based on feedback from the Italian localization.
1 parent 7ae4761 commit 0f8a9af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/checks/lists/listitem.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"pass": "List item has a <ul>, <ol> or role=\"list\" parent element",
88
"fail": {
99
"default": "List item does not have a <ul>, <ol> parent element",
10-
"roleNotValid": "List item does not have a <ul>, <ol> parent element without a role, or a role=\"list\""
10+
"roleNotValid": "List item parent element has a role that is not role=\"list\""
1111
}
1212
}
1313
}

locales/_template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@
822822
"pass": "List item has a <ul>, <ol> or role=\"list\" parent element",
823823
"fail": {
824824
"default": "List item does not have a <ul>, <ol> parent element",
825-
"roleNotValid": "List item does not have a <ul>, <ol> parent element without a role, or a role=\"list\""
825+
"roleNotValid": "List item parent element has a role that is not role=\"list\""
826826
}
827827
},
828828
"only-dlitems": {

0 commit comments

Comments
 (0)