Link Question
-
It is really common to have a Menu “Placeholder” page. Useful for top-level menu item – don’t go anywhere when menu item is clicked.
Then to have the other child pages under it.
This is giving this error:
Improper Use of Link error
This element is an anchor tag missing a valid
hrefattribute or is linked to#without havingrole="button".How to fix it:
If the element is used to trigger an action, replace the anchor tag with a
<button>. If you cannot replace it, ensure thatrole="button"is added to the link, along with JavaScript that adds support for triggering it with the space bar key, and that appropriate ARIA attributes are used for toggle states or other functionality.How do I implement this fix if it is a placeholder Parent page?
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.