Skip to content

Commit 549160c

Browse files
authored
Recorder extension: role="navigation" is unnecessary for element nav (#6224)
The nav tag have the ARIA element role="navigation", but this is unnecessary for nav elements and this will trigger an W3C Warning.
1 parent c25f20d commit 549160c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/Recorder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class Recorder extends \Codeception\Extension
136136
</head>
137137
<body>
138138
<!-- Navigation -->
139-
<nav class="navbar navbar-expand-lg navbar-light bg-light" role="navigation">
139+
<nav class="navbar navbar-expand-lg navbar-light bg-light">
140140
<div class="navbar-header">
141141
<a class="navbar-brand" href="../records.html"></span>Recorded Tests</a>
142142
</div>
@@ -216,7 +216,7 @@ class Recorder extends \Codeception\Extension
216216
</head>
217217
<body>
218218
<!-- Navigation -->
219-
<nav class="navbar navbar-expand-lg navbar-light bg-light" role="navigation">
219+
<nav class="navbar navbar-expand-lg navbar-light bg-light">
220220
<div class="navbar-header">
221221
<a class="navbar-brand" href="#">Recorded Tests
222222
</a>

0 commit comments

Comments
 (0)