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

Ensure that AREA used by IMG is visible. #1874

Open
jeeyyy opened this issue Oct 28, 2019 · 0 comments
Open

Ensure that AREA used by IMG is visible. #1874

jeeyyy opened this issue Oct 28, 2019 · 0 comments
Labels
feat New feature or enhancement

Comments

@jeeyyy
Copy link
Contributor

jeeyyy commented Oct 28, 2019

Expectation:
The function isAreaVisible used within isVisible should consider if AREA elements are outside of view/ coordinates of the IMG that uses the AREA.

Actual:
Currently the function isAreaVisible does not consider if referenced AREA is in view of the IMG that uses it.

Motivation:
If the coordinates sets an AREA that's bigger than the IMG it's mapped on, the AREA element will be visible to assistive technologies, but not to sighted users.

Note: isAreaVisible is an enhancement to isVisible function as a part of of the rule identical-links-same-purpose. See PR & comment - #1649 (comment)

@jeeyyy jeeyyy changed the title Ensure if AREA used by IMG is visible. Ensure that AREA used by IMG is visible. Oct 28, 2019
@straker straker added the feat New feature or enhancement label Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants