Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look at title and aria-label attributes for next/prev link discovery #3752

Closed

Conversation

sersorrel
Copy link

Description

This PR makes Vimium also use the contents of title and aria-label attributes, if present, to discover potential links to the next/previous page. This is useful for pages like this Adafruit guide, which uses a Font Awesome icon (<i class="fa fa-chevron-right">) to create the arrow on the next page button but also marks up that button with aria-label="Next page".

Tests are included.

Fixes #3739.

@pathammer
Copy link

Is this on track to be merged?

philc added a commit that referenced this pull request Sep 17, 2023
@philc
Copy link
Owner

philc commented Sep 17, 2023

Seems reasonable to me. I added this PR in 805e552. Thanks @sersorrel !

@philc philc closed this Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Match against aria-label for "navigate to previous/next page"
3 participants