Skip to content

Commit

Permalink
fix: Remove doubled period from start of alt text. (#4237)
Browse files Browse the repository at this point in the history
Closes #4236
  • Loading branch information
ashleahhill authored Apr 21, 2023
1 parent f22963d commit 6583b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/model-viewer/src/features/controls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ export const ControlsMixin = <T extends Constructor<ModelViewerElementBase>>(
}

get[$ariaLabel]() {
return super[$ariaLabel] +
return super[$ariaLabel].replace(/\.$/, '') +
(this.cameraControls ? INTERACTION_PROMPT : '');
}

Expand Down

0 comments on commit 6583b25

Please sign in to comment.