feat: consolidate shared UI and harden browser authority for release

This commit is contained in:
2026-09-08 01:35:05 +02:00
parent ac40774785
commit b75ca34295
143 changed files with 8664 additions and 752 deletions
+11
View File
@@ -144,6 +144,17 @@ const fixedCoverMarkup = renderToStaticMarkup(
getRowKey={(row) => row.id}
/>
);
assertEqual(fixedCoverMarkup.includes('class="data-grid-scroll-region" tabindex="0" role="region"'), true, "horizontal scrolling is keyboard accessible and labelled");
const resizeMarkup = renderToStaticMarkup(<DataGrid
id="resize-control-regression"
rows={[] as FilterRow[]}
columns={[{ id: "name", header: "Name", resizable: true }, { id: "actions", header: "Actions", columnType: "actions" }]}
getRowKey={(row) => row.id}
/>);
assertEqual(resizeMarkup.includes('role="separator" aria-orientation="vertical"'), true, "resizers expose a focusable vertical separator");
assertEqual(resizeMarkup.includes('aria-valuemin="92"'), true, "resizers expose their effective accessible minimum");
assertEqual(resizeMarkup.includes('aria-description='), true, "resizers explain keyboard interaction and reset");
assertEqual(
fixedCoverMarkup.includes("data-grid-buffer-cell"),
false,