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

W3C Validator says "there is no attribute "name"" #116

Open
anrainer opened this issue Jan 24, 2018 · 1 comment
Open

W3C Validator says "there is no attribute "name"" #116

anrainer opened this issue Jan 24, 2018 · 1 comment

Comments

@anrainer
Copy link

Hi Stowball,

May I suggest to make your script reacting on attribute "id" also? I think it's around line 44.

You made a great script, thanks for sharing!

Andreas

@stowball
Copy link
Owner

The name attribute is what makes an image map work. The spec says:

The name attribute gives the map a name so that it can be referenced. The attribute must be present and must have a non-empty value with no space characters. The value of the name attribute must not be a compatibility-caseless match for the value of the name attribute of another map element in the same document. If the id attribute is also specified, both attributes must have the same value.

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

No branches or pull requests

2 participants