creativecommons / chooser

The new and improved CC license selection tool.
https://chooser-beta.creativecommons.org
MIT License
105 stars 141 forks source link

Accessibility: heading elements should be in a sequentially-descending order #319

Closed obulat closed 3 years ago

obulat commented 3 years ago

Problem

The Chooser currently uses the <h1>-<h6> heading levels according to the design. Headings are used for creating the outline for a page, which is important for accessibility purposes. Skipping heading levels makes the outline, or website's table of contents, incorrect. This also lowers our Lighthouse Accessibility score: image

Description

Fortunately, CC's design system provides a way to use the headings' visual styles in an accessible way:

To create a second-level heading that visually looks like <h5>, we can use <h2 class="title is-5">.

So, this is the list of changes that need to be introduced:

Implementation

Cronus1007 commented 3 years ago

@obulat Just a suggestion regarding the labels of new issues to mark their status as ready for work since awaiting triage much refers that these issues are still on hold.

neeraj-2 commented 3 years ago

@obulat I would like to work on it.

zackkrida commented 3 years ago

@Cronus1007 @neeraj-2 It was labeled 'awaiting triage' because it wasn't ready for work. Now it is though, so anyone who wants to work on it can!