Skip to content

Commit ddcedbd

Browse files
chore(user-menu): acc fixes
1 parent 2efc104 commit ddcedbd

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

packages/fiori/src/UserMenuTemplate.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,10 @@ function otherAccountsList(this: UserMenu) {
152152
{this._otherAccounts.map((account, index) =>
153153
<ListItemCustom
154154
ref={this.captureRef.bind(account)}
155-
aria-posinset={index + 1}
156-
aria-setsize={this._otherAccounts.length}
155+
accessibilityAttributes={{
156+
"ariaPosinset": index + 1,
157+
"ariaSetsize": this._otherAccounts.length
158+
}}
157159
aria-label={account.titleText}
158160
>
159161
<div class="ui5-user-menu-other-accounts-content">

0 commit comments

Comments
 (0)