mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #3904 - Panel: Header accessibility issue
This commit is contained in:
parent
0142b37aa5
commit
00bedf4181
2 changed files with 11 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div :class="containerClass" v-bind="ptm('root')">
|
||||
<div class="p-panel-header" v-bind="ptm('header')">
|
||||
<slot name="header">
|
||||
<slot :id="ariaId + '_header'" name="header" class="p-panel-title">
|
||||
<span v-if="header" :id="ariaId + '_header'" class="p-panel-title" v-bind="ptm('title')">{{ header }}</span>
|
||||
</slot>
|
||||
<div class="p-panel-icons" v-bind="ptm('icons')">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue