#35795: Admin forms: "Delete" button should be a button
-------------------------------------+-------------------------------------
Reporter: Alena | Owner: Alena Volkova
Volkova |
Type: Bug | Status: assigned
Component: | Version: 5.0
contrib.admin |
Severity: Normal | Keywords: Accessibility, WCAG
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 1 |
-------------------------------------+-------------------------------------
Current: link tags. Semantically incorrect.
"In HTML, links and buttons are different elements, which serve different
purposes:
Links take the user to a new location, such as a new web page or new
section of the current page.
Buttons trigger some action, such as showing content on the page that was
previously hidden, playing a video, or submitting a form.
This distinction matters because it affects user expectations. If a screen
reader announces an element as a “link” or “button,” users have
expectations about what will happen when they click that element. If
something else happens, this can be disorienting."
https://www.washington.edu/accesstech/websites/links-buttons/
--
Ticket URL: <
https://code.djangoproject.com/ticket/35795>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.