Skip to content

Commit 5e84926

Browse files
committed
Add aria label again and textbox role
1 parent 8df0b02 commit 5e84926

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/common/components/TextInput/TextInput.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export const TextInput = (props: TextInputProps) => {
1515
extensions: extensions,
1616
editorProps: {
1717
attributes: {
18+
"aria-label": "Add a spark",
19+
role: "textbox",
1820
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",
1921
},
2022
handleKeyDown: (view, event) => {

0 commit comments

Comments
 (0)