Opened 13 months ago

Last modified 13 months ago

#34919 closed Bug

Missing scope attribute in admin doc table headers — at Version 2

Reported by: Louis-Cloud Owned by: Louis-Cloud
Component: contrib.admindocs Version: 4.2
Severity: Normal Keywords: table, scope, screenreader, accessibility
Cc: Thibaud Colas, Sarah Abderemane, Tom Carrick Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: yes

Description (last modified by Louis-Cloud)

There are a number of tables throughout Django's admin docs that are lacking the scope attribute. Having this attribute in the table headers makes table navigation easier for a screen reader user.

Acceptance Criteria

  • All table column header (th) needs to have a scope = "col" attribute.
  • All table row headers (first column th) should have a scope = "row" attribute

Relevant Files:

  • django/contrib/admindocs/templates/admin_doc/model_detail.html
  • django/contrib/admindocs/templates/admin_doc/model_index.html

For more information

Change History (2)

comment:1 by Louis-Cloud, 13 months ago

Description: modified (diff)

comment:2 by Louis-Cloud, 13 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top