~/talk

Crafting Accessible Components for Component Libraries

Talkat React Alicante 2023 · 2023-09-28..09-30· [component-design, accessibility]
slides:none on file

Three concrete patterns decide whether a library actually helps accessibility or just claims to: use a tag/as prop so components render article section or div as needed, extend component props to accept and spread aria attributes (TypeScript suggested to limit invalid props), and expose DOM access with forwardRef/useRef so callers can focus or scroll elements. Examples use React and TypeScript, acknowledge context dependency, and warn of increased complexity and potential misuse while reporting that these approaches enable real, testable fixes.

AI-written summary · about

  1. 0:00Accessible component libraries
  2. 1:10Accessibility depends on context
  3. 2:16Tag prop for semantic markup
  4. 4:24Extending props for ARIA
  5. 6:30ForwardRef for components
  6. 8:35Control versus misuse
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.