aria-api

access ARIA information from JavaScript
git clone https://git.ce9e.org/aria-api.git

commit
2d62a3c5026da87acff5455b430a723687485d81
parent
a8b6fe250fd93bef4726849999ac6bbaccf52c05
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-06-23 17:59
fix: consistent selector for area

Diffstat

M lib/constants.js 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/lib/constants.js b/lib/constants.js

@@ -387,7 +387,7 @@ exports.roles = {
  387   387 		],
  388   388 	},
  389   389 	link: {
  390    -1 		selectors: ['a[*|href]', 'area[href]'],
   -1   390 		selectors: ['a[*|href]', 'area[*|href]'],
  391   391 		childRoles: ['doc-backlink', 'doc-biblioref', 'doc-glossref', 'doc-noteref'],
  392   392 		nameFromContents: true,
  393   393 	},