We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ee7446 commit ec312aaCopy full SHA for ec312aa
1 file changed
lib/rules/template-no-invalid-role.js
@@ -243,7 +243,10 @@ module.exports = {
243
}
244
245
// Check for presentation/none role on semantic elements
246
- if ((roleLower === 'presentation' || roleLower === 'none') && SEMANTIC_ELEMENTS.has(node.tag)) {
+ if (
247
+ (roleLower === 'presentation' || roleLower === 'none') &&
248
+ SEMANTIC_ELEMENTS.has(node.tag)
249
+ ) {
250
context.report({
251
node: roleAttr,
252
messageId: 'presentationOnSemantic',
0 commit comments