feat: add aria-labels for accessibility in AddVariablesDropdown and ToolbarPlugin components (#20260)

This commit is contained in:
Gaurav Verma authored and GitHub committed 2025-03-20 15:59:47 +00:00
1 parent 55a97b71c8
commit a48ad2219f
2 files changed
+4 -1

No files matched your search

@@ -15,7 +15,7 @@ export const AddVariablesDropdown = (props: IAddVariablesDropdown) => {
return (
<Dropdown>
<DropdownMenuTrigger className="focus:bg-muted pt-[6px]">
<DropdownMenuTrigger aria-label="Add variable" className="focus:bg-muted pt-[6px]">
<div className="items-center ">
{props.isTextEditor ? (
<>