Skip to content

Commit 9832843

Browse files
author
GerganaKremenska
authored
fix(ui5-card): correct content html tag (#3464)
Section tag `<section>` does not support role='group', replace it with `<div>` Fixes: #3439 Closes: #3439
1 parent 92c6799 commit 9832843

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/main/src/Card.hbs

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
</div>
4040
{{/if}}
4141

42-
<section role="group" aria-label="{{ariaCardContentLabel}}">
42+
<div role="group" aria-label="{{ariaCardContentLabel}}">
4343
<slot></slot>
44-
</section>
44+
</div>
4545
<span id="{{_id}}-desc" class="ui5-hidden-text">{{ariaCardRoleDescription}}</span>
4646
</div>

0 commit comments

Comments
 (0)