Improve accessibility by not skipping a heading level for contributor/signature counts #356
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This fixes a minor accessibility issue with skipped headings on the main page: The heading level jumps from level 2 straight to level 4 in the contributor and signature lists. This goes against accessibility best practices, for example according to W3C:
The fix is to simply use heading level 3 (instead of level 4) for the contributor/signature counts.
After this change, the contributor and signature count font becomes slightly bigger. But it doesn’t look too bad, at least in my opinion:
Before:
After:
Type of change
This only changes the presentation of the contributor/signature counts. There are no changes to the manifesto text itself.