All articles

WordPress Accessibility Audit: Checking Menus, Forms, and Modal Dialogs

Check three common user tasks to identify accessibility barriers and prioritize fixes.

Contents
  1. How to prepare without changing the website
  2. Scenario 1: Find a page through the menu
  3. Scenario 2: Complete a form, correct an error, and submit
  4. Scenario 3: Open and close a modal dialog
  5. Which issues to fix first
  6. What scanners show and how to verify fixes
Аудит доступности сайта WordPress: что проверить в меню, формах и модальных окнах

A website can look and work well with a mouse while blocking visitors who use a keyboard. A menu may open only on hover, a form’s submit button may be unreachable with Tab, or a pop-up may be impossible to close without a pointer.

Start a WordPress accessibility audit with three tasks: find a page through the menu, complete and submit a form, and open and close a modal dialog. Try each one without a mouse. Give priority to errors that completely block a task or prevent someone from leaving a component.

These checks reveal some barriers, but they do not replace a full audit. Neither passing these scenarios nor finding no errors with an automated scanner confirms compliance with the Web Content Accessibility Guidelines (WCAG). Before formal testing, agree on the pages, scenarios, browsers, assistive technologies, and target WCAG version and conformance level.

How to prepare without changing the website

Open the site in a separate browser window without logging in to WordPress, so the admin toolbar does not affect the navigation path. Record the browser, operating system, and viewport size. Check the mobile menu separately: it may be a different component. Responsive browser emulation helps you inspect different widths, but it does not replace testing on real mobile devices with touch and a mobile screen reader.

  • Choose specific pages: a page with the main menu, an important form, and a page with a modal dialog. If forms use different plugins, checking one form is not enough.
  • Use Tab and Shift+Tab to move forward and backward. Keyboard focus identifies the element that receives keyboard input and should have a visible indicator, such as an outline.
  • Activate links with Enter and buttons with Enter or Space. Standard controls such as radio buttons and select lists may also use arrow keys. Custom controls need to support the keyboard behavior expected for their type.
  • Check keyboard navigation settings if Tab skips controls. Browser and operating system settings can affect which elements receive focus. On macOS, review Keyboard navigation and, where relevant, Full Keyboard Access under Accessibility; Safari also has a setting to use Tab to highlight each item on a webpage. Names and locations vary by version. Record the settings used rather than assuming skipped controls are a site defect.
  • Record the exact issue: the page address, steps, expected behavior, and actual behavior. For example: “After the dialog opens, Tab moves focus to a link behind the dimmed background.”

Do not disable plugins or change the theme on the live site for an initial diagnosis. Submitting a form may create a lead, trigger an email campaign, or start another automation. Agree on a test submission in advance and use only test data, not real customer information. Test payment scenarios in a prepared test environment.

Scenario 1: Find a page through the menu

  1. Reach the menu using Tab. Links and buttons should receive visible focus in a logical order. If the focus indicator disappears, try continuing: an element may receive focus without displaying it. That is different from an element being unreachable by keyboard; a developer needs to check both possibilities.
  2. Open a submenu without a mouse. If it appears only on hover, keyboard users may not be able to reach its links. Check that you can activate the expansion control and move to the submenu items. If the section name also links to a page, both navigation and expansion must remain available.
  3. Follow a submenu link and navigate back. The submenu should not disappear before you reach its items. Moving backward with Shift+Tab should also be predictable.
  4. Check how to leave the expanded menu. With a standard submenu, users should be able to continue navigating the page. If mobile navigation is implemented as a modal dialog, apply the modal checks below.

Standard website navigation does not have to behave like a desktop application menu. The absence of arrow-key controls alone does not establish an error. What matters is that all actions are accessible and the behavior matches the type of component.

What a developer checks: whether links are used for navigation and buttons for actions, whether the expanded state is communicated to assistive technologies, and whether hidden items remain in the Tab order. For a disclosure button, aria-expanded should reflect whether its submenu is open. The theme, a page builder, or a separate menu component could be responsible; one symptom alone cannot identify the source.

Scenario 2: Complete a form, correct an error, and submit

Check not only a successful submission but also the process of returning to a field with an error. This is often where a form that looks functional becomes impossible to complete.

  1. Go through every field with the keyboard. Check text fields, consent controls, dropdowns, file uploads, and spam protection if present. An inaccessible calendar or CAPTCHA can block the whole form even if the other fields work.
  2. Review labels and instructions. Each field should have a clear label that remains available after data is entered. Placeholder text inside an empty field is not a substitute for a proper label. Required fields and format requirements should be clear without relying on color alone.
  3. Trigger an expected validation error. For example, leave a required field empty. The message should explain what to correct and help you find the field. A red border without text does not explain the problem. If entered data disappears after validation, record that as a separate issue.
  4. Correct the data and complete the agreed test submission. It should be clear whether the form was accepted. If there is no visible result, investigate: the issue could be in the interface or in the submission itself. Do not click the button repeatedly until you know whether duplicate submissions are being created.

A site owner can check visible labels and whether the actions can be completed. Appearance alone, however, cannot establish whether a label is associated with its field in the markup or whether a screen reader will announce an error.

What a developer checks: accessible names for fields, associations between instructions or errors and the relevant controls, focus management after validation, and whether a screen reader announces the submission result. For native form fields, a label element’s for attribute can reference the input’s id; aria-labelledby is another option where appropriate. Instructions and errors may be associated using aria-describedby. These relationships need manual verification, not just a visual inspection.

Screen readers convey interface content and structure through speech or braille. NVDA and VoiceOver are examples used for manual testing; the agreed test environment may also require JAWS or other combinations. Check the success message in the interface and actual receipt of the submission separately.

Scenario 3: Open and close a modal dialog

A modal dialog temporarily blocks interaction with the rest of the page. This distinguishes it from an ordinary expandable section. If the background looks blocked but the keyboard can still interact with it, the interface behaves inconsistently.

  1. Open the dialog with the keyboard. Focus should move inside it, for example to the heading, the first field, or an appropriate button. If focus remains on the page underneath, a user may not understand what changed.
  2. Move through the content with Tab and Shift+Tab. While the dialog is open, focus should not move to elements in the background. All actions inside must still be available. Keeping focus inside the dialog is acceptable only if there is an accessible way to leave it.
  3. Check how it closes. Escape is the expected dismissal key for a typical modal dialog, which should also provide a keyboard-accessible close or cancel button. If Escape does not work, record it and compare the behavior with the component’s design and agreed acceptance criteria. Any intentional exception needs a documented, accessible alternative; that does not by itself establish conformance. The absence of any keyboard-accessible exit is a blocking error. Clicking the dimmed background must not be the only way to close the dialog.
  4. Check focus after closing. It normally returns to the element that opened the dialog. If that element is no longer present, focus should move to another logical place rather than getting lost at the beginning of the page.

What a developer checks: whether the dialog has appropriate semantics and an accessible name, whether the background is excluded from interaction and screen-reader navigation, and whether focus moves into the dialog and returns correctly. Dimming the background or adding aria-modal="true" alone does not provide these behaviors.

A native dialog opened with showModal() provides browser-managed modal behavior, but initial focus, naming, dismissal, and focus restoration still need testing. Custom implementations need explicit focus management and background isolation. The inert attribute can help make background content non-interactive; aria-hidden alone does not prevent keyboard focus.

Which issues to fix first

  • First, address blocked tasks: users cannot open a needed section, submit a form, or close a dialog. Components repeated across many pages deserve particular attention.
  • Next, address lost orientation and unclear results: invisible focus, illogical focus order, unexplained errors, and submission results that are not announced. Depending on the scenario, these defects can also completely block a user and deserve the highest priority.
  • Then assess other findings: consider their impact on users, how widespread they are, and the agreed WCAG criteria—not just whether a scanner flagged them.

For each finding, create a short record with the page, component, reproduction steps, expected behavior, actual result, and effect on the user’s task. A brief screen recording can help if focus is visible and no personal data appears in it.

What scanners show and how to verify fixes

Automated tools such as axe or WAVE can find some markup problems, including certain missing accessible names, ARIA attribute errors, and some contrast issues. ARIA attributes provide accessibility information to assistive technologies. Results require human review: tools can miss barriers or flag findings that need interpretation.

A scanner cannot fully determine whether focus order makes sense, whether an error is easy to correct, or whether a user can complete a real task. A submenu, a form error, and an open dialog may also require separate scans in those states.

To verify a finding, inspect the affected element and reproduce the reported condition. Where the issue concerns interaction or announcements, repeat the task with a keyboard and the agreed screen reader. Add a manual note explaining what was confirmed, what remains uncertain, and how the issue affects the user.

Before making changes, a developer identifies whether the defect is in the theme, a plugin, a page-builder template, or custom code. Changes to component behavior should first be tested on a staging copy; before deployment, prepare a backup and a rollback method. Editing third-party plugin files directly is usually unreliable because an update may overwrite the changes.

To accept the fixes, repeat the original steps in the agreed browsers, check related states, and test with the agreed screen-reader combinations. Confirm the target WCAG version and level before testing—for example, WCAG 2.1 AA or WCAG 2.2 AA, depending on the project’s requirements. A draft specification should not be treated as interchangeable with an established conformance target.

The report should identify the pages, scenarios, and environment tested, with a prioritized findings list, reproduction steps, and the status of fixed and remaining issues. The time needed depends on the number of distinct components, interaction states, and test environments; estimate it after agreeing on scope. Checking three components is not the same as assessing the entire site for WCAG compliance.

I can check WordPress menus, forms, and modal dialogs, identify likely sources of barriers, and assess the work needed to improve them. Send the public site address, links to the problem pages, and the steps where the task breaks down. Do not include passwords or customer data in the initial message. If access is needed, agree on a secure sharing method and use a temporary account with only the necessary permissions. The next step is to agree on the pages, scenarios, test environment, deliverables, and target WCAG version and level.

Discuss your project