Skip to content

Commit

Permalink
fix(kprompt): add arial-label (#2102)
Browse files Browse the repository at this point in the history
* fix(kprompt): add arial-label

* docs: fix ci
  • Loading branch information
portikM authored and adamdehaven committed Jun 15, 2024
1 parent 7ef8fc6 commit 566ddc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/components/button.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ This slot is deprecated and will be removed in the `9.0.0-beta.0` release. Pleas
```

<script setup lang="ts">
import { WorldIcon, ChevronDownIcon, TrashIcon } from '@kong/icons'
import { WorldIcon, ChevronDownIcon } from '@kong/icons'
</script>

<style scoped lang="scss">
Expand Down
1 change: 1 addition & 0 deletions src/components/KPrompt/KPrompt.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
</p>
<KInput
v-model="confirmationInput"
:aria-label="`${confirmationPromptText[0]}'${confirmationText}'${(confirmationPromptText[1] ? confirmationPromptText[1] : '')}`"
autocapitalize="off"
autocomplete="off"
data-testid="confirmation-input"
Expand Down

0 comments on commit 566ddc4

Please sign in to comment.