Skip to content

Commit 0b1402e

Browse files
authored
Update src/role-helpers.js
1 parent da2e0f6 commit 0b1402e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/role-helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ function checkBooleanAttribute(element, attribute) {
238238
* @returns {number | undefined} - number if implicit heading or aria-level present, otherwise undefined
239239
*/
240240
function computeHeadingLevel(element) {
241-
// assign level to implicit headings
241+
// https://w3c.github.io/html-aam/#el-h1-h6
242242
// https://w3c.github.io/html-aam/#el-h1-h6
243243
const implicitHeadingLevels = {
244244
H1: 1,

0 commit comments

Comments
 (0)