Skip to content

Commit

Permalink
fix(CQ-4274470): Modal dialogs missing attributes (#229)
Browse files Browse the repository at this point in the history
Co-authored-by: Pareesh Gupta <pareeshgupta@Pareeshs-MacBook-Pro.local>
  • Loading branch information
Pareesh and Pareesh Gupta committed Aug 15, 2022
1 parent abf2b40 commit fa462e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions coral-component-dialog/src/scripts/Dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@ const Dialog = Decorator(class extends BaseOverlay(BaseComponent(HTMLElement)) {
super.render();

this.classList.add(`${CLASSNAME}-wrapper`);
this.setAttribute("aria-modal", "dialog");

// Default reflected attributes
if (!this._variant) {
Expand Down

0 comments on commit fa462e9

Please sign in to comment.