Skip to content

Fixed - Improved accessibility and keyboard usability for request logs provider/model details in the WordPress admin - #889

Open
murshed wants to merge 2 commits into
WordPress:developfrom
murshed:develop
Open

Fixed - Improved accessibility and keyboard usability for request logs provider/model details in the WordPress admin#889
murshed wants to merge 2 commits into
WordPress:developfrom
murshed:develop

Conversation

@murshed

@murshed murshed commented Jul 21, 2026

Copy link
Copy Markdown

What?

Closes #

This PR improves the accessibility and keyboard usability of the request logs provider/model details UI in the WordPress admin.

Why?

The previous interaction used a non-semantic clickable container, which made the control harder to use with assistive technologies and keyboard navigation. This change improves usability for screen-reader and keyboard users and makes the popover behavior clearer.

How?

The provider/model details control was updated to expose better ARIA state information, improve keyboard handling for Enter, Space, and Escape, and add a visible focus indicator for keyboard users. The UI remains functionally the same, but the interaction is more accessible and predictable.

Use of AI Tools

AI assistance: No

Testing Instructions

  • Open the WordPress admin request logs view.
  • Verify that the provider/model details control can be opened and dismissed with mouse and keyboard.
  • Confirm that keyboard focus is visibly indicated when tabbing to the control.
  • Check that the control announces its expanded/collapsed state appropriately with assistive technology.

Screenshots or screencast

Not applicable.

Changelog Entry

Fixed - Improved accessibility and keyboard usability for request logs provider/model details in the WordPress admin.

Open WordPress Playground Preview

Fahim Murshed and others added 2 commits July 22, 2026 05:13
1. Accessibility for the provider/model details control
   - Replaced the non-semantic clickable container with an interactive element that supports keyboard access.
   - Added ARIA state attributes for expanded/collapsed popover behavior.
   - Improved keyboard handling for Enter, Space, and Escape keys.
   - Added a visible focus outline for keyboard users.

2. UI behavior
   - The provider details popover remains easier to open and dismiss with keyboard navigation.
   - The control now presents clearer interactive affordances for screen-reader and keyboard users.

Focused on improving WordPress admin accessibility and interaction quality in the request logs UI
@murshed
murshed requested a review from a team July 21, 2026 23:16
@github-actions

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @murshed4@gmail.com.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Unlinked contributors: murshed4@gmail.com.

Co-authored-by: murshed <fahimmurshed@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.74%. Comparing base (f0764fb) to head (08268d6).

Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #889   +/-   ##
==========================================
  Coverage      79.74%   79.74%           
  Complexity      2469     2469           
==========================================
  Files            104      104           
  Lines           9992     9992           
==========================================
  Hits            7968     7968           
  Misses          2024     2024           
Flag Coverage Δ
unit 79.74% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dkotter dkotter left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

At a quick review this looks fine to me but noting there are JS lint errors that will need resolved before this can be reviewed further

@dkotter dkotter added this to the 1.3.0 milestone Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants