Skip to content
EUID Audit service & seal, Home
Get your website audited

This translation has not been editorially reviewed yet. The German version is authoritative. Deutsche Fassung

Accessibility

Shop filter: act immediately or with apply button?

A filter is allowed to act immediately if only the hit list appears new and the marking of the keyboard remains with the filter. If each hook reloads the entire page, it needs a button "Apply filter" or a hint in front of it. The WCAG criterion 3.2.2 draws the line. Which of the permitted variants helps your customers more depends on whether they browse or already know what they want and how quickly your page responds.

New hits are allowed, a newly loaded page needs a hint

Putting a hook changes a setting. Criterion 3.2.2 does not allow an unannounced change of context: no jump to a new page, no marking that lands elsewhere, no fundamentally rebuilt page. A hit list that updates next to the filter only changes the content, and the W3C explicitly states that this is not always a context change. The case is different if the shop reloads the page with each hook. According to W3C, the reading mark of a read-out program, i.e. the software that announces the page to blind visitors, is then back at the beginning of the page. The visitor works his way back to the filter, and that on every further hook.

Button and hint both meet the requirement

The W3C cites both paths as sufficient. The button separates selection and effect: The customer sets his hooks and presses "Apply filter". The note appears in the reading flow in front of the filter, such as: "The list reloads as soon as you put a tick." It is written in one line, but wait and return remain. For visitors with a keyboard or read-out program, the button is therefore the better choice.

If the page remains, state the number of hits

Anyone who sees the page will notice the new list. Anyone who hears it will not know about it as long as the marking remains in the filter. The W3C counts sentences such as "18 hits" to the status messages, and they must be able to announce read-out programs without the marker moving (criterion 4.1.3). The list itself is not included, just the short sentence. Technically, a text area with role="status" is sufficient, which gets the new number after each change.

Who already knows what he is looking for, wants the button

Nielsen Norman Group, a research bureau for usability, differentiates by intention. Who browses, benefits from immediate effect: a selection, new hits, next idea. Who comes with fixed wishes, such as color, length and size, wants to put all the hooks and then wait once. The disadvantage of the button: A combination can give zero hits, and the customer only notices it afterwards. When in doubt, the researchers advise the button. According to them, immediate effect is less disturbing if the new hits are there in less than a second.

On the mobile phone, the customer waits for immediate effect after every hook

The researchers calculate it on the mobile phone: Who chooses four filter values, waits for four charges. Therefore, they recommend the button there. If the page jumps up, the customer loses his job, and the next time he taps, he can hit the wrong category. Your comparison: a waiter who takes away the card once you have named the first appetizer.

Examples

Hook reloads the page

Not met
<input type="checkbox" name="farbe" value="schwarz" onchange="this.form.submit()">
Passes
<input type="checkbox" name="farbe" value="schwarz">
<button type="submit">Filter anwenden</button>

The customer puts all the hooks in rest and triggers the new list itself.

  • At the filter value, show the number of hits, such as "Black (12)". According to Nielsen Norman Group, this avoids combinations without result.
  • Test the filter with the keyboard only: set hooks, move on, set next hooks. Is the marking still in the same place?

More on this topic

Deutsche Fassung dieser Seite

  • Seal Digitale Barrierefreiheit
  • Seal Daten & Recht
  • Seal Technische Qualität
  • Seal Digital Excellence
  • Seal Cyberversicherung

Audited. For a better digital future.euid.com

Shop filter: act immediately or with apply button? · euid.com