aria-api

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

commit
202e1157d5f0018cfe46a3796c615e603dd20e45
parent
532709d81cdb42936618c605650e76866a1e0229
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2023-01-08 07:12
fix WPT 566

Diffstat

M lib/name.js 2 +-

1 files changed, 1 insertions, 1 deletions


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

@@ -149,7 +149,7 @@ var getName = function(el, recursive, visited, directReference) {
  149   149 
  150   150 	// I
  151   151 	// FIXME: presentation not mentioned in the spec
  152    -1 	if (!ret.trim() && !query.matches(el, 'presentation')) {
   -1   152 	if (!ret.trim() && (directReference || !query.matches(el, 'presentation'))) {
  153   153 		ret = el.title || '';
  154   154 	}
  155   155