← All Exercises
Label progress and meter Elements
basichtml
Background
progress and meter expose different semantics; labels and fallback text keep the values meaningful for every user.
Problem
Create an upload progress element and a disk-usage meter, each with a visible label, valid value and max attributes, and fallback text that repeats the value in words.
Input
An upload at 40 percent and disk usage at 170 GB of 200 GB.
Output
Labelled progress and meter elements with fallback text.
Sample tests
Sample 1
Input: Screen reader reads the upload control
Expected: progress is named Upload progress and announces 40 of 100
Sample 2
Input: Browser does not render meter
Expected: fallback text states 170 GB of 200 GB used
Your solution
Learning objective
Choose between progress and meter, then label each control and supply readable fallback text.