Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

[Accessibility]: Tables in code excerpts should use headers for line numbers #43144

Open
@limitedmage

Description

@limitedmage

Audit type

ARC Toolkit

User journey audit issue

https://github.com/sourcegraph/sourcegraph/issues/34190

Problem description

ArcToolkit says the tables used for search results are confusing because a11y tools can't tell if the table is tabular data or used for layout purposes. We need to clarify this.

Expected behavior

The table should switch the line numbers from being <td> to <th>. This will clarify that this is indeed a table with tabular data. ArcToolkit should not show alerts about tables.

CleanShot 2022-10-18 at 15 52 06@2x

Additional details

No response

Assigning labels

  • Please give this issue an estimate by applying a label like estimate/Xd, where X is the estimated number of days it will take to complete.
  • If this issue is specific to a specific Sourcegraph product, please assign the appropriate team label to this issue.
  • If this issue will require input from designers in order to complete, please assign the label needs-design.
  • If you are confident that this issue should be fixed by GitStart, please assign the label gitstart.

Owner

This issue will be fixed by GitStart. I have assigned the label 'gitstart' and added the assignee 'gitstart-sourcegraph'.

/cc @lguychard

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions