Skip to content

Commit

Permalink
fix(Select): added aria properties
Browse files Browse the repository at this point in the history
  • Loading branch information
N00nDay committed Oct 24, 2023
1 parent b8cf53f commit d2ceb3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/components/select/Select.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@
<div class="mt-1 relative rounded-md" class:text-danger={error} class:opacity-50={disabled}>
<button
aria-label="toggle select"
aria-haspopup="listbox"
aria-expanded={visible}
aria-labelledby={name}
type="button"
on:click|stopPropagation|preventDefault={toggleVisible}
class="relative border pr-10 py-2 min-h-[2.5rem] text-left focus:outline-none sm:text-sm block w-full outline-none ring-0 focus:ring-0 rounded-md stwui-select-display"
Expand Down

0 comments on commit d2ceb3c

Please sign in to comment.