Skip to content

Web Lab 2: add console accessibility#71055

Open
fisher-alice wants to merge 1 commit intostagingfrom
alice/console-a11y
Open

Web Lab 2: add console accessibility#71055
fisher-alice wants to merge 1 commit intostagingfrom
alice/console-a11y

Conversation

@fisher-alice
Copy link
Contributor

@fisher-alice fisher-alice commented Feb 26, 2026

This PR adds keyboard navigability to console logs in the Web Lab 2 console panel. It also passes a custom icon for the log with aria-hidden: true so that the VoiceOver ignores this decorative icon and reads the message text. If this is not included, the log message is not read out load and instead VO says 'and two more items'.

We should probably update the Alert component so that it accepts an iconAriaHidden. I added that as a TODO in the comment.

Before update

before-update-console.mov

After update

after-update-console.mov

Links

Testing story

Tested locally on weblab2 levels with Mac Voiceover.

Deployment strategy

Follow-up work

Privacy

Security

Caching

PR Creation Checklist:

  • Tests provide adequate coverage
  • Privacy impacts have been documented
  • Security impacts have been documented
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Follow-up work items (including potential tech debt) are tracked and linked

@fisher-alice fisher-alice marked this pull request as ready for review February 26, 2026 23:30
@fisher-alice fisher-alice requested review from a team and hannahbergam February 26, 2026 23:30
Copy link
Contributor

@hannahbergam hannahbergam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd still like to use the enter/esc paradigm here so a user doesn't have to tab through all console logs if they're trying to navigate elsewhere!

@fisher-alice
Copy link
Contributor Author

I'd still like to use the enter/esc paradigm here so a user doesn't have to tab through all console logs if they're trying to navigate elsewhere!

Sounds good! Will update and also log a ticket for the current regression in Enter/Escape in the chat workspace.

@hannahbergam
Copy link
Contributor

I'd still like to use the enter/esc paradigm here so a user doesn't have to tab through all console logs if they're trying to navigate elsewhere!

Sounds good! Will update and also log a ticket for the current regression in Enter/Escape in the chat workspace.

Yay thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants