Opened 7 months ago

Last modified 6 months ago

#34919 closed Bug

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

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

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.

Relevant Files:

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

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

For more information

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top