Linux 软件免费装
Banner图

Ananyoo Accessible Forms – Contact Form & Entry Storage

开发者 anblik
更新时间 2026年8月4日 14:11
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

contact form a11y accessibility wcag accessible forms

下载

1.2.0 1.9.3 1.9.4 1.9.5 1.1.1 1.1.2 1.3.0 1.3.1 1.4.0

详情介绍:

Ananyoo Accessible Forms builds contact and lead forms that conform to WCAG 2.2 Level AA out of the box. Instead of bolting accessibility on afterwards, every form is generated with correct semantics from the start: a real <label> for every control, fieldset/legend for grouped inputs, an error summary that takes focus, inline errors tied to their field with aria-describedby and aria-invalid, and a status region that announces success. Developed by Shivaji Mitra (M/S. Anblik). Live demo: Try the accessible forms demo » Why this plugin? Most popular form plugins can be made accessible, but they do not start that way — you have to know exactly which settings to change and which markup to fix. This plugin makes the accessible result the default, so a form added by a non-expert is still usable by keyboard and screen-reader visitors, on the smallest phone, in high-contrast mode. Key features Links Privacy This plugin stores the entries you receive in your own WordPress database and sends notification emails through your site's own mail system (the standard wp_mail() function). Out of the box it sends your data to no third-party service and adds no tracking or front-end links of its own. Two optional extras change this, and both are your choice:

安装:

  1. Upload the plugin to the /wp-content/plugins/ directory, or install it from the Plugins screen.
  2. Activate it. Four ready-to-use example forms are created automatically: an enquiry form (showing every field type), a newsletter sign-up, a quick feedback form, and an advanced contact form that showcases every feature.
  3. Go to Ananyoo Accessible Forms to edit fields, or create a new form.
  4. Copy the form's shortcode (e.g. [ananyoo_form id="123"]) into any page or post, or add the Accessible Form block and choose your form.
  5. Set the notification email (and optional email logo) under Ananyoo Accessible Forms → Settings. Emails send out of the box; for the best inbox delivery we recommend — but do not require — a free SMTP plugin such as WP Mail SMTP or FluentSMTP.

屏幕截图:

  • Accessible validation: an error summary that takes focus, plus inline messages tied to each field and announced to screen readers, never by colour alone.
  • The accessible success state after a valid submission: a clear confirmation announced through a polite live region (SC 4.1.3), with focus moved to it so keyboard users are never left guessing.
  • Every submission is saved as a native WordPress entry. The list shows the sender, subject, form, date and IP, with Quick View, View and Trash actions.
  • A stored entry opened in the admin: every submitted field and value in a semantic table, with checkbox answers shown as Yes or No and the received time and IP set apart below.
  • Quick View opens any entry in an accessible modal dialog without leaving the list: focus moves into the dialog, Escape closes it, and focus returns to the link afterwards.
  • Build a form visually with the Accessible Form block, or drop its shortcode anywhere; both render the identical accessible markup.
  • Multi-step forms: add a "Step break" and a long form becomes short, numbered steps with a progress indicator, Previous/Next buttons, a spoken "Step X of N", and focus moved to each step — and it still works as one page without JavaScript.
  • A File upload field with its own maximum size and allowed file types. Uploads are off site-wide by default, so the field stays disabled with a clear note until you switch uploads on — safe by design.
  • The live accessibility health check beside the form builder: missing labels, empty steps, choice fields without options and more are flagged as you edit, each with a symbol and a word, never colour alone.
  • Accessible email design under Settings: pick a background and text colour for the header, body and footer, each checked live for WCAG contrast so the email is readable in every inbox.
  • The accessible HTML email for the admin notification and the visitor's confirmation: a real data table with row headings and an alt-text logo, plus a plain-text alternative for text-only mail clients.

升级注意事项:

1.0.0 Initial release.

常见问题:

Do I need a CAPTCHA?

No. The built-in honeypot and submission-time trap stop most bots without asking visitors to solve a puzzle, which keeps the form accessible. The plugin deliberately does not bundle a CAPTCHA, and never uses image-puzzle CAPTCHAs, which create barriers for many disabled visitors. If your forms attract heavy, targeted spam and you want an extra layer, the most accessible choice is Cloudflare Turnstile — in its "Managed" / interaction-only mode it verifies most visitors invisibly, with no puzzle to solve. Add it with a dedicated Turnstile plugin (for example, "Simple CAPTCHA Alternative with Cloudflare Turnstile"). See the next question for connecting it to these forms.

How do I add Cloudflare Turnstile (or another CAPTCHA) to these forms?

The easiest way is automatic. Install the free "Simple CAPTCHA with Cloudflare Turnstile" plugin (by RelyWP) and add your Turnstile keys. These forms then detect it and show the Turnstile challenge by themselves — no code, no shortcode. A failed or missing challenge is reported through the same accessible error summary as any other field, with the visitor's answers kept. You can switch this off under Ananyoo Accessible Forms → Settings. Importantly, this plugin still loads no third-party script itself; the companion plugin renders and enqueues the Turnstile widget. So this plugin makes no external requests on its own. Prefer a different CAPTCHA, or want full control? Two hooks are also available:

  • do_action( 'ananyoo_aaf_before_submit', $form_id, $uid, $errors ) — fires just before the submit button, inside the form. Use it to output a verification widget.
  • apply_filters( 'ananyoo_aaf_validation_errors', $errors, $raw, $fields, $form_id ) — return a non-empty name => message array to reject a submission. The message then appears in the accessible error summary and beside the form.
Developers can also disable the built-in Turnstile integration with the ananyoo_aaf_use_turnstile filter (return false).

How do I add Akismet spam filtering to these forms?

Install the Akismet plugin, add your API key under Settings → Akismet Anti-spam, then tick "Add Akismet spam filtering when the Akismet plugin is active" under Accessible Forms → Settings. It stays off until you tick it.

Do I need an SMTP plugin for the emails to arrive?

Not to make it work, but it is strongly recommended for deliverability. This plugin sends every email through WordPress's own wp_mail(), so notifications and confirmations send with no extra setup. However, default server mail is often marked as spam. For emails to land reliably in the inbox we recommend a free SMTP plugin such as WP Mail SMTP or FluentSMTP. It is optional — nothing here requires it — and the plugin shows a gentle, dismissible tip on its Settings screen if none is detected. Because delivery goes through wp_mail(), whichever SMTP plugin you already use handles it automatically.

Do I need Cloudflare Turnstile or another CAPTCHA?

No — and that is deliberate. Accessible anti-spam is built in (an invisible honeypot plus a submission-time trap, satisfying SC 3.3.8 Accessible Authentication), with optional Akismet, so most sites need no CAPTCHA at all and visitors never face a puzzle. Cloudflare Turnstile is offered only as an optional extra layer for sites hit by heavy, targeted spam; in its invisible "Managed" mode it verifies most people with no interaction. It is never required, and leaving it off keeps the form as accessible as possible. Akismet adds nothing to the form itself, so there is no puzzle and nothing changes for keyboard or screen-reader users. A submission Akismet thinks is spam is saved quietly under Entries with the Spam status — the visitor is never blocked and never shown an error. This is deliberate: if Akismet guesses wrong, a real person still gets through, and you simply find their message in the Spam view. If Akismet cannot be reached, the entry is saved as normal. Please note that when this is on, the submitted values are sent to Akismet, an outside service, to be checked. Please make sure your privacy policy says so. Developers can disable the integration with the ananyoo_aaf_use_akismet filter (return false), or adjust what is sent with the ananyoo_aaf_akismet_request filter.

How do I let visitors upload a file, and is it safe?

Add a File upload field to your form in the builder. On its own that changes nothing on the front end yet: file uploads are off for the whole site by default, on purpose. Until you switch them on under Settings → File uploads, the field shows as disabled with a short note, and nothing can be uploaded — so a form is never an open door for unwanted files until you decide to accept them. When you are ready, tick "Allow visitors to upload files". Each File upload field has its own maximum size (2 MB by default) and its own list of allowed file types (PDF, DOC, DOCX, JPG, PNG, GIF, WEBP to begin with — change these on the field). Every uploaded file is checked on the server for size, extension and its real content type before it is saved, files are kept in a separate uploads folder, and each one appears as a link on the stored entry.

How do I make a long form into steps?

In the form builder, add a Step break where you want one step to end and the next to begin. The form is then shown one step at a time, with a numbered progress indicator, Previous/Next buttons, a spoken "Step X of N", and focus moved to each step as it opens. "Next" checks only the current step. If a visitor has JavaScript turned off, the whole form still appears and works as a single page, so nobody is ever locked out.

Does the plugin make external requests or track anything?

No. By itself the plugin makes no external/HTTP requests and includes no analytics or tracking. Two optional extras are the exception, and only if you switch them on: the Akismet check sends the submission to Akismet for a verdict (through the Akismet plugin's own connection and key), and a third-party CAPTCHA plugin such as Cloudflare Turnstile handles its own requests. Both are covered by their own privacy terms.

Are submissions stored if the email fails?

Yes. Every valid submission is saved as an entry before the email is sent, so a mail problem never loses a message.

Will deleting the plugin remove my data?

Only if you choose to. The clean-uninstall option is off by default, so your forms and entries are kept. Enable it under Settings if you want everything removed on delete.

更新日志:

1.9.5 1.9.3 1.9.2 1.9.1 1.9.0 1.8.3 1.8.2 1.8.1 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.1 1.3.0 1.2.0 1.1.2 1.1.1 1.1.0 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0