Merge pull request #2757 from tugcekucukoglu/accessibility-inputswitch
remove incorrect rolepull/2760/head
commit
99876ded02
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div :class="containerClass" @click="onClick($event)" :style="style" role="checkbox" :aria-checked="checked">
|
<div :class="containerClass" @click="onClick($event)" :style="style">
|
||||||
<div class="p-hidden-accessible">
|
<div class="p-hidden-accessible">
|
||||||
<input ref="input" type="checkbox" :checked="checked" v-bind="$attrs" role="switch" :aria-checked="checked"
|
<input ref="input" type="checkbox" :checked="checked" v-bind="$attrs" role="switch" :aria-checked="checked"
|
||||||
@focus="onFocus($event)" @blur="onBlur($event)">
|
@focus="onFocus($event)" @blur="onBlur($event)">
|
||||||
|
|
Loading…
Reference in New Issue