Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 310 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 310 Bytes

useAccessibleScreenReaderTimeCounter

useAccessibleScreenReaderTimeCounter is a hook used to read timer value on a specific interval without manual focus

  const {
    ariaAtomic,
    role,
    label,
    ariaLive
  } = useAccessibleScreenReaderTimeCounter({ timer, updateIntervalGap: 30 });