Research Guides
Verify the Mixed State in a Research Source Picker
A source picker that says “Select all” can leave a reviewer unsure what will go into a report. Test what the parent checkbox communicates when only some sources are selected, and verify that the actual selection matches what it says.
Write down the three possible states
Imagine a fictional report with four eligible sources. When none are selected, the parent checkbox is unchecked. When two are selected, it is mixed. When all four are selected, it is checked. The W3C checkbox pattern describes this three-state pattern. For a custom checkbox, the mixed condition is expressed as aria-checked="mixed"; a dash drawn with CSS alone does not supply that state.
Test what “all” actually covers
Choose two sources individually and compare the parent’s visual and accessible states. Use the Space key on the parent, then check the actual selected list or export preview. For a simple picker designed to select the rest from the mixed state, all four sources should now be selected. If the list is filtered or paginated, decide whether “all” means visible results or all eligible results. Use wording such as “Select all four matching sources” when the scope is known. Don’t infer the selection size from the parent icon.
Retest after changing a child or narrowing the list
Uncheck one source and confirm that the parent goes back to mixed. Switch to a narrower filter and confirm that the parent’s state still describes the set it controls. If the interface keeps selections outside the visible list, expose that count separately. Before any different bulk action, such as removal, use the bulk action scope worksheet to confirm which records it applies to.
Copy this audit row
Filter and scope | eligible and selected counts | visual parent state | accessible parent state | keyboard action | selected records verified
Check the three states against the selected records, not just three screenshots. A visual state can be correct while the report still contains the wrong sources.