Skip to content

Feature/arc 3788 search block - #368

Open
reunefe wants to merge 5 commits into
feature/ARC-3819_copyrightfrom
feature/ARC-3788_search-block
Open

Feature/arc 3788 search block#368
reunefe wants to merge 5 commits into
feature/ARC-3819_copyrightfrom
feature/ARC-3788_search-block

Conversation

@reunefe

@reunefe reunefe commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

})
);

console.log('result', result);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

console.log('result', result) staat er nog in.

Comment on lines +80 to +85
query: searchTerm
? {
zoekterm: searchTerm,
format: mediaType,
}
: {},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bij een lege searchTerm wordt de query {}, dus de gekozen format verdwijnt mee. Kies "Alle video", klik zoeken zonder iets te typen, en je komt op /zoeken zonder filter.

De FA koppelt dat niet aan een zoekterm: "Als een optie (andere dan 'Zoek alles') hier geselecteerd is en je start een zoekactie, dan wordt deze zoekactie uitgevoerd met de gekozen filter voor dit objecttype." Ik zou format altijd meegeven, of minstens wanneer het niet all is.


const actionProps = {
tabIndex: 0,
role: 'button',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

De FA vermeldt letterlijk: "Escape = sluit 'lagen bovenop de webpagina, e.g. dropdowns, blade, modals, etc." Nu gaat hij enkel dicht via de trigger of door een optie te kiezen. Klikken buiten de dropdown doet ook niets.

Verder luistert onKey(evt, [...keysEnter], …) alleen op Enter. Op een element met role="button" verwacht een screenreader-gebruiker ook Space, en de FA noemt die apart.

@reunefe
reunefe force-pushed the feature/ARC-3788_search-block branch from bf9e4e9 to ac5f1fc Compare August 5, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants