Skip to content

Accessible Status After Device State Change

Make a simulated device control and its pending, confirmed, and failed states accessible and recoverable.

UX Uma, your practice guide

UX Uma
The Interfaces, Location and Privacy guide asks learners to make state, control, location, and consent accessible and recoverable. On iotclass.org a service worker in this lab folder plays the server; nothing leaves your browser.
Predict the reading, then compare it with the measurement.

Browser (Chromium DevTools)

Phone browser

Tier 2 · Phone browser · No account

Last tested October 2026.

Open the browser lab, then inspect the real Network, Console, or Accessibility panel in DevTools.

Open the phone lab (new tab)

Steps

The tool may have moved on since the screenshots were taken — the text steps are the contract.

  1. 1 Step 1

    Do
    In the Elements panel, switch to the Accessibility Tree view and inspect the initial control.
    You will see
    • Starting point: Initial simulated device off.
    • On the page: Visible device state: off; Live status: off.
    • In DevTools: The tree exposes a switch and a status region; the page says off.
    • Interpretation: The starting state is available through visible and semantic channels.
    Why it matters
    Evidence: Step 1 screenshot shows the real Chromium page and DevTools panel. Mechanism: The native output exposes a status role in Chromium. Boundary: A tree entry alone does not prove audible announcement. Next check: Activate the switch by keyboard.
    Real Chromium browser and DevTools: The tree exposes a switch and a status region; the page says off.
    Step 1 · Browser (Chromium DevTools); numbered callout added to a real capture.
  2. 2 Step 2

    Do
    Focus the switch button and press Space; inspect the status in the Accessibility Tree.
    You will see
    • Starting point: Keyboard Space on the focused switch.
    • On the page: Visible device state: pending; Live status: pending.
    • In DevTools: The page and status read pending.
    • Interpretation: Keyboard activation entered the pending state.
    Why it matters
    Evidence: Step 2 screenshot shows the real Chromium page and DevTools panel. Mechanism: The real browser sent Space to the focused control. Boundary: The temporary state is not confirmation from a device. Next check: Wait while acknowledgement is delayed.
    Real Chromium browser and DevTools: The page and status read pending.
    Step 2 · Browser (Chromium DevTools); numbered callout added to a real capture.
  3. 3 Step 3

    Do
    In the Current result panel watch the pending status during the delayed acknowledgement.
    You will see
    • Starting point: Waited inside the 1200 ms delay.
    • On the page: Visible device state: pending; Live status: pending.
    • In DevTools: The page still reads pending; the tree retains the status node.
    • Interpretation: The control exposes uncertainty before confirmation.
    Why it matters
    Evidence: Step 3 screenshot shows the real Chromium page and DevTools panel. Mechanism: The simulated acknowledgement delay keeps the pending state observable. Boundary: Timing may vary on other machines. Next check: Allow the acknowledgement to complete.
    Real Chromium browser and DevTools: The page still reads pending; the tree retains the status node.
    Step 3 · Browser (Chromium DevTools); numbered callout added to a real capture.
  4. 4 Step 4

    Do
    In the Current result panel read the confirmed state after the delay.
    You will see
    • Starting point: Allowed the successful acknowledgement.
    • On the page: Visible device state: on; Live status: on.
    • In DevTools: The page reads on and the status reads on.
    • Interpretation: Visible and accessible status return to a confirmed value.
    Why it matters
    Evidence: Step 4 screenshot shows the real Chromium page and DevTools panel. Mechanism: The simulated successful response changes confirmed state only after delay. Boundary: The browser fixture is not a hardware acknowledgement. Next check: Trigger a failed change.
    Real Chromium browser and DevTools: The page reads on and the status reads on.
    Step 4 · Browser (Chromium DevTools); numbered callout added to a real capture.
  5. 5 Step 5

    Do
    Tick Fail next acknowledgement, activate the switch button, then inspect the result.
    You will see
    • Starting point: Failed the attempted off transition.
    • On the page: Visible device state: on; Live status: Failed to set off; on remains confirmed.
    • In DevTools: The status says Failed to set off; on remains confirmed.
    • Interpretation: The prior confirmed state is restored.
    Why it matters
    Evidence: Step 5 screenshot shows the real Chromium page and DevTools panel. Mechanism: Failure leaves confirmed state on rather than treating pending as success. Boundary: The failure is a controlled synthetic fixture. Next check: Inspect the semantic failure text in the tree.
    Real Chromium browser and DevTools: The status says Failed to set off; on remains confirmed.
    Step 5 · Browser (Chromium DevTools); numbered callout added to a real capture.
  6. 6 Step 6

    Do
    In the Elements panel inspect the expanded status node in the Accessibility Tree.
    You will see
    • Starting point: Expanded Current result, DescriptionList, definition, and status.
    • On the page: Visible device state: on; Live status: Failed to set off; on remains confirmed.
    • In DevTools: The tree shows status atomic: true and StaticText for the failure.
    • Interpretation: The failure is exposed as live status text.
    Why it matters
    Evidence: Step 6 screenshot shows the real Chromium page and DevTools panel. Mechanism: Chromium generated the tree from the actual output element. Boundary: This does not replace assistive-technology testing. Next check: Use the tree as one accessibility review artifact.
    Real Chromium browser and DevTools: The tree shows status atomic: true and StaticText for the failure.
    Step 6 · Browser (Chromium DevTools); numbered callout added to a real capture.

Chapter checks

These questions refer to the chapter’s examples. Use the return links to review their answers.

  1. A lock shows pending on the phone but appears unlocked on a wall display. What should the accessibility review require?

    Return to the chapter’s knowledge check
  2. A lock command is pending. Which test gives a clear accessibility pass criterion across app and voice?

    Return to the chapter’s knowledge check

Caution

Before you start

Read this before you start.

This accessibility-tree run does not establish how every screen reader or physical device announces the transition.

Technical details
Version tested
Version tested: Chromium 147.0.7727.15; static site and real DevTools with scoped service worker, 2026-10-09. Date: 2026-10-09.
QR code that opens the Accessible Status After Device State Change lab page
Open this lab online: https://iotclass.org/labs/accessible-device-status.html

Return to Accessible IoT: Interface Foundations · Browse Labs