Skip to content

Improve accessibility compliance for links, form labels, and headings - #302

Open
CodyReichert wants to merge 5 commits into
masterfrom
fix_plugin_accessibility_compliance
Open

Improve accessibility compliance for links, form labels, and headings#302
CodyReichert wants to merge 5 commits into
masterfrom
fix_plugin_accessibility_compliance

Conversation

@CodyReichert

@CodyReichert CodyReichert commented Sep 4, 2026

Copy link
Copy Markdown
Member

How to upload and test plugin:

  1. Download simplyrets-3.2.10-beta.zip file here
  2. Go to the Plugins->Add Plugin page in your WordPress dashboard and click “Upload Plugin” at the top
  3. Click Choose File and select the simplyrets-3.2.10-beta.zip file you downloaded and click Install Now
  4. After uploading, you should see a button to “Replace Current with Uploaded”, click that
    (If you see an Activate Plugin button next, click that)

This is a safe operation. If you encounter any issues with the test plugin, simply uninstall it on the Plugins->Installed Plugins page, and then reinstall the plugin from the search bar.


Included changes:

  • Add property address context to "More details" and "View Details" links using aria-label and .screen-reader-text.
  • Add programmatically associated labels and matching IDs to all search and contact form inputs.
  • Connect the "Sort by" label to the select dropdown with matching ID.
  • Correct heading hierarchy across search results and open house archives to eliminate skipped heading levels.
  • Introduce filters (simplyrets_search_heading_tag, simplyrets_listing_heading_tag, simplyrets_results_heading_tag) for configurable heading levels.
  • Define .screen-reader-text utility class and expand heading selectors in simply-rets-client.css to maintain visual consistency.

- Add property address context to "More details" and "View Details" links using aria-label and .screen-reader-text.
- Add programmatically associated labels and matching IDs to all search and contact form inputs.
- Connect the "Sort by" label to the select dropdown with matching ID.
- Correct heading hierarchy across search results and open house archives to eliminate skipped heading levels.
- Introduce filters (simplyrets_search_heading_tag, simplyrets_listing_heading_tag, simplyrets_results_heading_tag) for configurable heading levels.
- Define .screen-reader-text utility class and expand heading selectors in simply-rets-client.css to maintain visual consistency.
@CodyReichert CodyReichert self-assigned this Sep 4, 2026
@CodyReichert CodyReichert added the enhancement This is an enhancement or new feature label Sep 4, 2026
@creichert
creichert force-pushed the fix_plugin_accessibility_compliance branch from 3c17f33 to ec9bcbd Compare September 4, 2026 20:53
creichert and others added 2 commits September 4, 2026 16:03
Restore default heading levels across listings and search forms to avoid
breaking existing theme styles targeting specific selectors (e.g.,
.sr-primary-data h4 or #sr-search-wrapper h3):

- Default listing card heading tags back to <h4> in renderer and open houses
- Default search form heading tags back to <h3> in standard and map searches
- Default simplyrets_show_results_heading to false to preserve default DOM
- Retain filters so developers can customize heading tags for accessibility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement This is an enhancement or new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants