#34833: Use a `main` landmark in the admin interface
-------------------------------------+-------------------------------------
     Reporter:  Thibaud Colas        |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  contrib.admin        |                  Version:  4.2
     Severity:  Normal               |               Resolution:
     Keywords:  accessibility,       |             Triage Stage:  Accepted
  screen reader, landmarks           |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Thibaud Colas):

 * keywords:   => accessibility, screen reader, landmarks


Old description:

> Related: [https://code.djangoproject.com/ticket/34832#ticket #34832].
> Currently the Django admin’s main content area is coded as `<div
> class="main shifted" id="main"></div>`. For screen reader users, it would
> be helpful to switch to a `<main>` tag or add `role="main"`. They would
> be able to navigate straight to this area when going through the page by
> landmark.
>
> Usage of the correct HTML main tag is ideal, but might prove problematic
> if CSS was written with overly specific HTML elements. We can get the
> same benefits for screen reader users with `role="main"`.

New description:

 Related: [https://code.djangoproject.com/ticket/34832#ticket #34832].
 Currently the Django admin’s main content area is coded as `<div
 class="main shifted" id="main"></div>`. For screen reader users, it would
 be helpful to switch to a `<main>` tag or add `role="main"`. They would be
 able to navigate straight to this area when going through the page by
 landmark.

 Usage of the correct HTML main tag is ideal, but might prove problematic
 if CSS was written with overly specific HTML elements. We can get the same
 benefits for screen reader users with `role="main"`.

 ---

 See [https://dequeuniversity.com/rules/axe/4.8/landmark-one-
 main?application=RuleDescription recommendation from Axe] on the
 importance of having a main landmark.

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34833#comment:3>
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/0107018a8d38b7ba-7f39171a-27be-480b-bb19-776bcd3dfff9-000000%40eu-central-1.amazonses.com.

Reply via email to