You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- au-input forwards only its documented attributes to the inner input;
hidden, inert, style and inline handlers no longer stick to the field.
- au-input keeps a usable field at narrow widths; colour inputs keep their swatch.
- au-file-upload's default trigger has a 7.6:1 focus outline, adjustable via
--au-file-upload-trigger-focus-outline-*.
- au-breadcrumbs shows a focus outline in forced-colors mode.
- More browser checks run in CI; demo themes meet their contrast guidance.
- Reproducible bundle banner; docs require Node 22.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Text attributes use the `data-text-` prefix, except on `au-file-upload`, whose
348
+
text attributes use `msg-` (for example `msg-drop-text`).
349
+
347
350
For framework use, bind these attributes to your normal i18n strings, such as `:label="t('upload.label')"`, `data-text-page-announcement={t('pagination.announcement')}`, or `[attr.data-text-toggle]="treeToggleLabel"`.
348
351
349
352
@@ -440,6 +443,13 @@ Now change `--color-primary-500` once, and every component you connected follows
440
443
stylesheet, define the same tokens in your own CSS; the connections work the same
441
444
way.
442
445
446
+
**Check contrast whenever you change a colour.** Text needs at least 4.5:1
447
+
against its background; focus outlines and control borders need at least 3:1
448
+
(WCAG 2.2). Several components draw their focus outline *inside* the element,
449
+
on top of its background, so a darker or more saturated background also needs a
450
+
new focus colour — for example `--au-accordion-heading-focus-shadow-color`.
451
+
Check the hover and active backgrounds too, not only the resting state.
452
+
443
453
**See a complete example.**[`demo/demo.css`](demo/demo.css) connects tokens to a
444
454
themed button under `.custom-btn--primary-flat`. The result is on
0 commit comments