Automattic / Automattic/jetpack

Stats: improve accessibility by adding the mention of “views”

Open
#19,215 0 comments 1 reaction 0 assignees View on GitHub
[Feature] Stats Data [Focus] Accessibility [Pri] Normal Admin Page Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Problem

Right now if you try to access the Stats module using voice only, you get things like:

- _March 5 — 8_.
- _Week of February 8 — 80_.
- _September 2020 — 54_.

#### Solution

It would be pretty easy to append “views” to the end and make the interpretation a bit richer.

#### Relevant code

https://github.com/Automattic/jetpack/blob/e13487d0dbbe4c743739b6f1a3e37c143a8c2614/projects/plugins/jetpack/_inc/client/at-a-glance/stats/index.jsx#L88-L102

Contributor guide

Open the contributing guide

Research direction

Open projects/plugins/jetpack/_inc/client/at-a-glance/stats/index.jsx around lines 88–102 and inspect how the Stats values are presented. Update the accessible output so the examples announce “views” after each number, then verify the resulting labels for daily, weekly, and monthly stats.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
accessibility, frontend
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.