New rule: map-id-name
If present, HTML5 requires the id
attribute to match the name
attribute:
If the id attribute is also specified, both attributes must have the same value.
https://html.spec.whatwg.org/multipage/image-maps.html#the-map-element
Examples
- Incorrect:
<map name="foo" id="bar">
- Correct:
<map name="foo" id="foo">
Options
No options.