From 67377b7d3261648ebfcc2f3666db31ea4589a9a1 Mon Sep 17 00:00:00 2001 From: mhenrixon Date: Sat, 11 Jul 2026 11:22:23 +0200 Subject: [PATCH] feat(components): checkbox_group carries an accessible name (a11y) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit div[role="group"] had no accessible name, so a screen reader announced "checkbox, Ruby" with no indication the boxes belong to a "Tags" group (#17). The leaf invents NO naming API — extra HTML/ARIA attributes pass straight through to the group div, so the caller names it with plain aria: - Bare verb: `f.checkbox_group(..., aria: { label: "Tags" })` (a literal name) or `aria: { labelledby: "some_id" }` (point at an existing element). - Field path: `f.field(:tags, as: :checkbox_group, label:, hint:)` reuses the Control's OWN visible