#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.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701922f54b19b-13b2f9a5-4974-4390-9fab-c9eaa64de129-000000%40eu-central-1.amazonses.com.

Reply via email to