Permalink
Browse files

fix(table): aria-labeledby set to header element

  • Loading branch information...
tmorehouse committed Jul 6, 2017
1 parent 3392fc7 commit e13e093624f6659f9e500e3ca9cdb20a2eb893a3
Showing with 7 additions and 3 deletions.
  1. +7 −3 lib/components/modal.vue
@@ -23,14 +23,18 @@
tabindex="-1"
role="document"
ref="content"
:aria-labelledby="(hideHeader || !id) ? null : (id + '__BV_title_')"
:aria-labelledby="(hideHeader || !id) ? null : (id + '__BV_header_')"
:aria-describedby="id ? (id + '__BV_body_') : null"
@click.stop
>
<header class="modal-header" ref="header" v-if="!hideHeader">
<header class="modal-header"
ref="header"
:id="id ? (id + '__BV_header_') : null"
v-if="!hideHeader"
>
<slot name="modal-header">
<h5 class="modal-title" :id="id ? (id + '__BV_title_') : null">
<h5 class="modal-title">
<slot name="modal-title">{{title}}</slot>
</h5>
<button type="button"

0 comments on commit e13e093

Please sign in to comment.