When more content is loaded, move focus to first new result

Created on 23 January 2024, 8 months ago
Updated 30 March 2024, 6 months ago

Problem/Motivation

When using the keyboard to navigate, loading more content with the Show More button keeps focus on the button and all new content is loaded above the button, so you need to tab backwards to get to the new content.

This is could be frustrating for users who use the keyboard or other assistive technology.

Steps to reproduce

Using the keyboard:

  1. Tab to the Show More button, and activate it to load the new content
  2. Tab again, and focus will be below the newly loaded content

Proposed resolution

After new content is loaded, move focus to the first item in the newly loaded content.

Remaining tasks

  • ✅ Create merge request completing the proposed resolution
  • ✅ Confirm the merge request works
  • ✅ Maintainer code review
  • ✅ Maintainer manual testing
  • ✅ Merge into 2.x-dev branch
🐛 Bug report
Status

Fixed

Version

2.0

Component

User interface

Created by

🇺🇸United States hbrokmeier Wisconsin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024