Skip to content

Commit

Permalink
- fix AriaHidden;
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoFerreira-FrontEnd committed Sep 29, 2023
1 parent c6401cd commit 81f2c47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions dist/OutSystemsUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -11357,8 +11357,7 @@ var OSFramework;
OSUI.Helper.A11Y.RoleButton(this._tooltipIconElem);
OSUI.Helper.A11Y.RoleTooltip(this._tooltipBalloonWrapperElem);
OSUI.Helper.A11Y.AriaDescribedBy(this._tooltipIconElem, this._tooltipBalloonContentElem.id);
OSUI.Helper.A11Y.AriaHiddenFalse(this._tooltipBalloonWrapperElem);
OSUI.Helper.A11Y.AriaHiddenFalse(this._tooltipBalloonWrapperElem);
OSUI.Helper.A11Y.AriaHiddenTrue(this._tooltipBalloonWrapperElem);
OSUI.Helper.A11Y.TabIndexTrue(this._tooltipIconElem);
}
setCallbacks() {
Expand Down
4 changes: 1 addition & 3 deletions src/scripts/OSFramework/OSUI/Pattern/Tooltip/Tooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -631,9 +631,7 @@ namespace OSFramework.OSUI.Patterns.Tooltip {
// Set AriaDescribedBy to the TooltipBalloon
Helper.A11Y.AriaDescribedBy(this._tooltipIconElem, this._tooltipBalloonContentElem.id);
// Set the AriaHidden to the balloon!
Helper.A11Y.AriaHiddenFalse(this._tooltipBalloonWrapperElem);
// Set the AriaHidden to the balloon!
Helper.A11Y.AriaHiddenFalse(this._tooltipBalloonWrapperElem);
Helper.A11Y.AriaHiddenTrue(this._tooltipBalloonWrapperElem);
// Set TabIndex to the TooltipTrigger
Helper.A11Y.TabIndexTrue(this._tooltipIconElem);
}
Expand Down

0 comments on commit 81f2c47

Please sign in to comment.