Skip to content

Commit

Permalink
added aria-label (#621)
Browse files Browse the repository at this point in the history
  • Loading branch information
ragi96 authored Jul 24, 2023
1 parent 6036b32 commit 910b3bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/dos-donts-block/src/DoDontItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ export const DoDontItem = React.forwardRef<HTMLDivElement, DoDontItemProps>(
}
value={internalTitle}
disabled={!editing}
aria-label="Title"
placeholder={editing ? 'Add a title' : ''}
className="tw-text-s tw-pointer-ev tw-w-full tw-placeholder-[var(--placeholder-color)] placeholder:tw-opacity-30 tw-placeholder-opacity-30 tw-bg-transparent tw-resize-none tw-text-text-weak tw-break-words tw-outline-none tw-whitespace-pre-wrap"
/>
Expand Down

0 comments on commit 910b3bf

Please sign in to comment.