(value)
| 485 | } |
| 486 | |
| 487 | function findElementWithRelValue(value) { |
| 488 | const relTags = ["link", "a", "area"]; |
| 489 | for (const tag of relTags) { |
| 490 | const els = document.getElementsByTagName(tag); |
| 491 | for (const el of Array.from(els)) { |
| 492 | if (el.hasAttribute("rel") && (el.rel.toLowerCase() === value)) { |
| 493 | return el; |
| 494 | } |
| 495 | } |
| 496 | } |
| 497 | } |
| 498 | |
| 499 | class FocusSelector extends Mode { |
| 500 | constructor(hints, visibleInputs, selectedInputIndex) { |
no outgoing calls
no test coverage detected