Allyphant Homepage

Links - Level 08

Links

Instructions

A button can be misused to act as a link using JavaScript. However, you should never do this as it can confuse users. Even if you style the button to look like a link, visually impaired users can’t see that. They expect a button to behave like a button, not like a link. Furthermore, screen readers can’t extract the link destination from JavaScript.

A link should take the user to another page or section of the same page. A button is intended to trigger an action on the page. For example, opening a menu or submitting a form.

The page contains a button acting as a link. Replace this button with an anchor tag.

index.html

On your computer: Press + m to use the tab key for site navigation.

The editor is loading...

Preview