From 36b9b0d09a653f6941120151e1571ff152eb5666 Mon Sep 17 00:00:00 2001 From: Jeff Date: Fri, 6 Mar 2020 08:08:24 -0800 Subject: [PATCH] add label context to deselectButton text --- src/mixins/i18n.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mixins/i18n.js b/src/mixins/i18n.js index b57c7b2..95e69d9 100644 --- a/src/mixins/i18n.js +++ b/src/mixins/i18n.js @@ -9,8 +9,11 @@ export const text = { ariaLabel: 'Search for options' }, selectedOption: {}, - deselect: { - ariaLabel: 'Deselect Option' + deselectButton: { + ariaLabel: label => 'Deselect Option' + }, + clearButton: { + ariaLabel: 'Clear Selection' } };