Skip to content

Commit

Permalink
Add aria label again and textbox role
Browse files Browse the repository at this point in the history
  • Loading branch information
derwebcoder committed Sep 29, 2024
1 parent 8df0b02 commit 5e84926
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/components/TextInput/TextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ export const TextInput = (props: TextInputProps) => {
extensions: extensions,
editorProps: {
attributes: {
"aria-label": "Add a spark",
role: "textbox",
class: "p-4 min-h-full block w-full bg-white border border-blue-300 rounded-lg text-sm focus:border-blue-500 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600",
},
handleKeyDown: (view, event) => {
Expand Down

0 comments on commit 5e84926

Please sign in to comment.