#36367: Improving the accessibility of the date_hierarchy layout in the admin.
-------------------------------------+-------------------------------------
     Reporter:  Antoliny             |                    Owner:  Chaitanya
         Type:                       |                   Status:  assigned
  Cleanup/optimization               |
    Component:  contrib.admin        |                  Version:  5.1
     Severity:  Normal               |               Resolution:
     Keywords:  accessibility,       |             Triage Stage:  Accepted
  screen reader, date_hierarchy      |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Antoliny):

 Replying to [comment:4 Chaitanya]:
 > in admin/date_hierarchy.html
 >
 > aria is one way of fixing it like below
 > {{{
 > <nav class="toplinks" aria-label="Date filter">
 > }}}
 > now the screen reader says "Date filter navigation" instead of
 "navigation".
 >
 > or Else we can have a hidden <h> tag which also does the same thing but
 will be announced while going through headings of the page like below.
 (definitely not the best way)
 >
 > {{{
 > <h3 class="visually-hidden">Date filter navigation</h3>
 > }}}
 >
 >
 > any other ways to fix??

 Great! I think the changes above are necessary.

 In addition, I believe the biggest issue here is how to convey the sorted
 order in the `date_hierarchy`.

 Hmm... I've been thinking a lot about this recently as well, and I feel
 like we might need to slightly restructure this part.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36367#comment:5>
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/010701985ba34946-7cb0926c-a0e7-4041-8ca6-e40e7c957b74-000000%40eu-central-1.amazonses.com.

Reply via email to