kopia lustrzana https://github.com/elk-zone/elk
				
				
				
			feat(a11y): add checkbox role to toggle items (#2321)
							rodzic
							
								
									91db9b03a8
								
							
						
					
					
						commit
						a4d34323ed
					
				|  | @ -11,6 +11,7 @@ const { disabled = false } = defineProps<{ | ||||||
|   <button |   <button | ||||||
|     exact-active-class="text-primary" |     exact-active-class="text-primary" | ||||||
|     block w-full group focus:outline-none text-start |     block w-full group focus:outline-none text-start | ||||||
|  |     role="checkbox" :aria-checked="checked" | ||||||
|     :disabled="disabled" |     :disabled="disabled" | ||||||
|     :class="disabled ? 'opacity-50 cursor-not-allowed' : ''" |     :class="disabled ? 'opacity-50 cursor-not-allowed' : ''" | ||||||
|   > |   > | ||||||
|  |  | ||||||
		Ładowanie…
	
		Reference in New Issue
	
	 lazzzis
						lazzzis