Skip to content

Improve form builder keyboard navigation and accessible names - #3794

Open
Crabcyborg wants to merge 1 commit into
masterfrom
fix/builder-outline-accessibility
Open

Crabcyborg wants to merge 1 commit into
masterfrom
fix/builder-outline-accessibility

Conversation

@Crabcyborg

Copy link
Copy Markdown
Contributor

The builder sidebar exposed each tab as two nested interactive elements, and text and textarea previews lacked accessible names. This change gives each tab one focus target and connects preview inputs to their existing labels. Outline recovers keyboard focus when a result disappears, announces an empty form, and handles Enter when a search has no matches.

The new Cypress regression exercises keyboard navigation and scans the tab list, text preview, and populated and empty search results with axe. The form list now runs the empty-table-header rule and drops the IBM allowance for empty checkbox labels. The pagination input also has an explicit accessible name.

Verification

  • The live builder went from six axe violations to zero on the audited form. End followed by Enter opened Outline.
  • The new Cypress regression and all 15 outline unit tests passed. The production JavaScript build and scoped PHP and JavaScript checks passed.
  • The form-list axe scan passed. The local IBM form-list test still flags the rotated SVG in the WordPress admin-menu collapse button (element_orientation_unlocked).

@coderabbitai

coderabbitai Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 37 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 54868ae and 18ab9a5.

Files selected for processing: 12

  • classes/helpers/FrmListHelper.php
  • classes/models/fields/FrmFieldTextarea.php
  • classes/models/fields/FrmFieldType.php
  • js/formidable-settings-components.js
  • js/formidable-web-components.js
  • js/formidable_builder.js
  • js/formidable_dashboard.js
  • js/src/admin/formOutline.js
  • js/src/components/tabs/class-tabs-navigator.js
  • tests/cypress/e2e/Forms/formOutline.cy.js
  • tests/cypress/e2e/admin-a11y.cy.js
  • tests/cypress/fixtures/ibm-a11y-baseline.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@deepsource-io

deepsource-io Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in 54868ae...18ab9a5 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
PHP Dec 1, 2026 8:11p.m. Review ↗
JavaScript Dec 1, 2026 8:11p.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

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.

1 participant