Skip to content

Commit

Permalink
fix(listitem): clarify roleNotValid message (#4374)
Browse files Browse the repository at this point in the history
Editorial fix based on feedback from the Italian localization.
  • Loading branch information
WilcoFiers committed Mar 18, 2024
1 parent 7ae4761 commit 0f8a9af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/checks/lists/listitem.json
Expand Up @@ -7,7 +7,7 @@
"pass": "List item has a <ul>, <ol> or role=\"list\" parent element",
"fail": {
"default": "List item does not have a <ul>, <ol> parent element",
"roleNotValid": "List item does not have a <ul>, <ol> parent element without a role, or a role=\"list\""
"roleNotValid": "List item parent element has a role that is not role=\"list\""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion locales/_template.json
Expand Up @@ -822,7 +822,7 @@
"pass": "List item has a <ul>, <ol> or role=\"list\" parent element",
"fail": {
"default": "List item does not have a <ul>, <ol> parent element",
"roleNotValid": "List item does not have a <ul>, <ol> parent element without a role, or a role=\"list\""
"roleNotValid": "List item parent element has a role that is not role=\"list\""
}
},
"only-dlitems": {
Expand Down

0 comments on commit 0f8a9af

Please sign in to comment.