nojronatron / Bigfoot-Bib-Report-WL-Form

Customized Winlink Race Tracker Form and Template for use in Bigfoot ultramarathon events.
https://enchanting-pony-09ae40.netlify.app/bigfoot-bib-report-initial
The Unlicense
5 stars 1 forks source link

Help Text Should Be Properly Hidden #57

Open nojronatron opened 1 month ago

nojronatron commented 1 month ago

Describe the bug

When a user tabs through the page, the tab order allows selecting page elements that are off-screen (the "Form Information - READ" link target content). This is confusing for a keyboard-only user and could cause issues when a Screen Reader is used.

To Reproduce

  1. Open the form and click on Title (there is no need to enter any data).
  2. Continue "tabbing over" until the "Clear Entries" button is highlighted.
  3. Press the Tab key 1 more time and the focus will disappear.
  4. Open "Developer Tools", open the Console and type document.activeElement.
  5. The Console will reveal the following element as a response: <a class="close" href="#close">

Note: Screen Readers will attempt to announce this anchor element, but it is completely out of context for the UI state.

Expected behavior

After "tabbing away" from the "Clear Entries" button, the highlighted element should be "Form Information - READ", and a Screen Reader should announce as much.

Screenshots

Desktop (complete if not using a phone/mobile device):

Mobile Device, Tablet, Phone (complete if not Desktop):

Additional context