Navigation links have nested <button>s #105

Open
opened 10 months ago by Moiety · 0 comments
Collaborator

Where: navigation bar on the dashboard and create/edit page

What: The navigation links have nested <button>s; this is invalid HTML and can cause usability issues. It seems as though this is done purely for styling, can you confirm/elaborate?

Recommendations: Remove the <button> elements

set of buttons in the nav bar

You can try this for yourself with the W3C validator if you set it to “textfield” and input:

<!DOCTYPE html>
<html lang="">
<head>
<title>Test</title>
</head>
<body>
<a href="#foo"><button>bar</button></a>
</body>
</html>
Where: navigation bar on the dashboard and create/edit page What: The navigation links have nested `<button>`s; this is invalid HTML and can cause usability issues. It seems as though this is done purely for styling, can you confirm/elaborate? Recommendations: Remove the `<button>` elements ![set of buttons in the nav bar](/attachments/926999e1-9158-4698-bbc0-8fbda2e634b6) You can try this for yourself with the [W3C validator](https://validator.w3.org/nu/#textarea) if you set it to “textfield” and input: ``` <!DOCTYPE html> <html lang=""> <head> <title>Test</title> </head> <body> <a href="#foo"><button>bar</button></a> </body> </html> ```
Moiety added the
Accessibility
label 10 months ago
are0h added this to the Fipamo Beta 2.6.2 milestone 10 months ago
are0h self-assigned this 10 months ago
are0h added this to the Fipamo Beta project 10 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: are0h/Fipamo#105
Loading…
There is no content yet.