Skip to content

Commit

Permalink
fix: hide upload drop files area from screen readers (#3174) (#3177)
Browse files Browse the repository at this point in the history
Co-authored-by: Tomi Virkki <[email protected]>
  • Loading branch information
vaadin-bot and tomivirkki authored Dec 10, 2021
1 parent 2b0a2bf commit 18316a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/upload/src/vaadin-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class Upload extends ElementMixin(ThemableMixin(PolymerElement)) {
</vaadin-button>
</slot>
</div>
<div part="drop-label" hidden$="[[nodrop]]" id="dropLabelContainer">
<div part="drop-label" hidden$="[[nodrop]]" id="dropLabelContainer" aria-hidden="true">
<slot name="drop-label-icon">
<div part="drop-label-icon"></div>
</slot>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ snapshots["vaadin-upload shadow default"] =
</slot>
</div>
<div
aria-hidden="true"
id="dropLabelContainer"
part="drop-label"
>
Expand Down

0 comments on commit 18316a2

Please sign in to comment.