We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dac1c5 commit 7bc18beCopy full SHA for 7bc18be
packages/main/src/Dialog.hbs
@@ -9,7 +9,7 @@
9
{{#if header.length }}
10
<slot name="header"></slot>
11
{{else}}
12
- <h2 class="ui5-popup-header-text">{{headerText}}</h2>
+ <h2 id="ui5-popup-header-text" class="ui5-popup-header-text">{{headerText}}</h2>
13
{{/if}}
14
</header>
15
packages/main/src/Dialog.js
@@ -204,7 +204,7 @@ class Dialog extends Popup {
204
}
205
206
get _ariaLabelledBy() { // Required by Popup.js
207
- return this.ariaLabel ? undefined : "ui5-popup-header";
+ return (this.ariaLabel || this.header.length) ? undefined : "ui5-popup-header-text";
208
209
210
get _ariaModal() { // Required by Popup.js
0 commit comments