From caa02ebdcc49883ae225811e3a89d487b0570720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 29 Jul 2022 16:52:08 +0300 Subject: [PATCH] Update Rating Accessibility --- src/components/config/PrimeVue.js | 5 ++--- src/components/rating/Rating.vue | 29 ++++++++++++----------------- src/views/rating/RatingDoc.vue | 2 +- 3 files changed, 15 insertions(+), 21 deletions(-) diff --git a/src/components/config/PrimeVue.js b/src/components/config/PrimeVue.js index 8ed925465..aaaeec1a5 100644 --- a/src/components/config/PrimeVue.js +++ b/src/components/config/PrimeVue.js @@ -71,9 +71,8 @@ const defaultOptions = { trueLabel: 'True', falseLabel: 'False', nullLabel: 'Not Selected', - star: 'star', - stars: 'stars', - noneStars: 'No Rating', + star: '1 star', + stars: '{star} stars', selectAll: 'All items selected', unselectAll: 'All items unselected', close: 'Close' diff --git a/src/components/rating/Rating.vue b/src/components/rating/Rating.vue index a97263bcb..871b190ef 100755 --- a/src/components/rating/Rating.vue +++ b/src/components/rating/Rating.vue @@ -1,17 +1,16 @@