Closed backflip closed 12 months ago
This PR updates the script to find headings in shadow DOM, too.
Additional changes:
role=["presentation"]
.offsetParent
Tested on https://www.sbb.ch and https://www.swisscom.ch
Perfect, thanks for the contribution!
This PR updates the script to find headings in shadow DOM, too.
Additional changes:
role=["presentation"]
are ignored.Visibility is detected usingThis has been reverted, see comments..offsetParent
rather than calculated styles.Tested on https://www.sbb.ch and https://www.swisscom.ch