@codecademy/gamut
73.5.073.5.1-alpha.7af239.0
dist/Form/SelectDropdown/core/accessibility.js−
dist/Form/SelectDropdown/core/accessibility.jsDeleted−12
Index: package/dist/Form/SelectDropdown/core/accessibility.js
===================================================================
--- package/dist/Form/SelectDropdown/core/accessibility.js
+++ package/dist/Form/SelectDropdown/core/accessibility.js
@@ -1,12 +0,0 @@
-export const onFocus = ({
- focused: {
- label,
- subtitle,
- rightLabel,
- disabled
- }
-}) => {
- const formattedSubtitle = `, ${subtitle}`;
- const formattedRightLabel = `, ${rightLabel}`;
- return `You are currently focused on option ${label}${subtitle ? formattedSubtitle : ''} ${rightLabel ? formattedRightLabel : ''}${disabled ? ', disabled' : ''}`;
-};
\ No newline at end of file