#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
-------------------------------------+-------------------------------------
Changes (by Chaitanya):

 * owner:  (none) => Chaitanya
 * status:  new => assigned

Comment:

 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.

 {{{
 <h3 class="visually-hidden">Date filter navigation</h3>
 }}}


 any other ways to fix??
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36367#comment:4>
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/010701985b988d5b-1d487adf-aae2-40df-af3f-1d635db26c5a-000000%40eu-central-1.amazonses.com.

Reply via email to