From b920840d50f03085ac4e3bdd666660ded630fa36 Mon Sep 17 00:00:00 2001 From: Tessa Kelly Date: Thu, 14 Apr 2022 14:26:21 -0700 Subject: [PATCH] Fix Select missing label --- script/puppeteer-tests.js | 1 - styleguide-app/Examples/Select.elm | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/script/puppeteer-tests.js b/script/puppeteer-tests.js index 9d3fd1ac..fb2300ad 100644 --- a/script/puppeteer-tests.js +++ b/script/puppeteer-tests.js @@ -72,7 +72,6 @@ describe('UI tests', function () { const skippedRules = { 'Accordion': ['heading-order'], 'RadioButton': ['duplicate-id'], - 'Select': ['label'], 'Switch': ['aria-allowed-attr'], } diff --git a/styleguide-app/Examples/Select.elm b/styleguide-app/Examples/Select.elm index 41a413b9..1242be93 100644 --- a/styleguide-app/Examples/Select.elm +++ b/styleguide-app/Examples/Select.elm @@ -85,7 +85,7 @@ type alias State = {-| -} init : State init = - { label = Control.string "Tortilla Selector" + { label = Control.record identity |> Control.field "label" (Control.string "Tortilla Selector") , attributes = initControls }