diff --git a/demos/src/Examples/Accessibility/React/MenuBar.tsx b/demos/src/Examples/Accessibility/React/MenuBar.tsx index 4c5ac6dbe4..00495cfd0d 100644 --- a/demos/src/Examples/Accessibility/React/MenuBar.tsx +++ b/demos/src/Examples/Accessibility/React/MenuBar.tsx @@ -62,7 +62,6 @@ function NodeTypeDropdown({ editor }: { editor: Editor }) { aria-haspopup="true" aria-expanded={isOpen} aria-controls="heading-dropdown" - aria-orientation="vertical" className={`node-type-dropdown__trigger${isOpen ? ' is-active' : ''}`} tabIndex={-1} > @@ -74,6 +73,7 @@ function NodeTypeDropdown({ editor }: { editor: Editor }) { ref={dropdownRef} id="node-type-dropdown" role="menu" + aria-orientation="vertical" className="node-type-dropdown__items" >