mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-10-31 10:54:33 +01:00 
			
		
		
		
	fix: Make help toggle tabbable (#3310)
* fix: Make help toggle tabbable * Update src/components/HelpIcon.tsx Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com> Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
This commit is contained in:
		| @@ -9,7 +9,13 @@ type HelpIconProps = { | ||||
| }; | ||||
|  | ||||
| export const HelpIcon = (props: HelpIconProps) => ( | ||||
|   <label title={`${props.title} — ?`} className="help-icon"> | ||||
|     <div onClick={props.onClick}>{questionCircle}</div> | ||||
|   </label> | ||||
|   <button | ||||
|     className="help-icon" | ||||
|     onClick={props.onClick} | ||||
|     type="button" | ||||
|     title={`${props.title} — ?`} | ||||
|     aria-label={props.title} | ||||
|   > | ||||
|     {questionCircle} | ||||
|   </button> | ||||
| ); | ||||
|   | ||||
| @@ -454,6 +454,14 @@ | ||||
|     fill: $oc-gray-6; | ||||
|     bottom: 14px; | ||||
|     width: 1.5rem; | ||||
|     padding: 0; | ||||
|     margin: 0; | ||||
|     background: none; | ||||
|     color: var(--icon-fill-color); | ||||
|  | ||||
|     &:hover { | ||||
|       background: none; | ||||
|     } | ||||
|  | ||||
|     :root[dir="ltr"] & { | ||||
|       right: 14px; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Arun
					Arun