@fluid-topics/ft-reader-feedback 1.1.107 → 1.1.111

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -137,17 +137,20 @@ class FtReaderFeedback extends withI18n(FtReaderComponent) {
137
137
  return html `
138
138
  <ft-switch unselectable
139
139
  @change=${(e) => this.rate(e.detail)}
140
- part="rating rating-like">
140
+ part="rating rating-like"
141
+ label=${this.i18n(this.i18nProperties.ratingSectionTitle)}>
141
142
  <ft-switch-option .value=${1}
142
143
  ?selected=${liked}
143
144
  .iconVariant=${this.iconVariant}
144
- icon="${liked ? this.filledLikeIcon : this.emptyLikeIcon}">
145
+ icon="${liked ? this.filledLikeIcon : this.emptyLikeIcon}"
146
+ role="radio">
145
147
  ${feedback.messages.like()}
146
148
  </ft-switch-option>
147
149
  <ft-switch-option .value=${0}
148
150
  ?selected=${disliked}
149
151
  .iconVariant=${this.iconVariant}
150
- icon="${disliked ? this.filledDislikeIcon : this.emptyDislikeIcon}">
152
+ icon="${disliked ? this.filledDislikeIcon : this.emptyDislikeIcon}"
153
+ role="radio">
151
154
  ${feedback.messages.dislike()}
152
155
  </ft-switch-option>
153
156
  </ft-switch>