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

This commit is contained in:
Gaurav Verma
2025-03-20 15:59:47 +00:00
committed by GitHub
parent 55a97b71c8
commit a48ad2219f
2 changed files with 4 additions and 1 deletions
@@ -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 ? (
<>