#36192: Use semantic HTML for buttons in Django Admin
-------------------------------------+-------------------------------------
     Reporter:  Eliana Rosselli      |                    Owner:  Eliana
                                     |  Rosselli
         Type:  Uncategorized        |                   Status:  assigned
    Component:  contrib.admin        |                  Version:  5.1
     Severity:  Normal               |               Resolution:
     Keywords:  accessibility        |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Description changed by Eliana Rosselli:

Old description:

> Right now the Django Admin has some buttons that are actually link tags
> with role="button" set, i.e
> {{{
> <a role="button">
> }}}
>
> We should change these to be proper HTML buttons , and update their CSS
> so they maintain their existing styling.
>
> [[Image(examplebutton.png)]]

New description:

 Right now the Django Admin has some buttons that are actually link tags
 with role="button" set, i.e
 {{{
 <a role="button">
 }}}

 We should change these to be proper HTML buttons , and update their CSS so
 they maintain their existing styling. Below is an example of this kind of
 button; in the image, the "Add another Release" button is using an anchor
 element

 [[Image(examplebutton.png)]]

--
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36192#comment:1>
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 visit 
https://groups.google.com/d/msgid/django-updates/010701950baf505d-7e1dea04-8a60-45b1-89de-ae2adb2495c1-000000%40eu-central-1.amazonses.com.

Reply via email to