[questions][ui] add aria-hidden for select label

pull/346/head
Jeff Sieu 3 years ago committed by wlren
parent e4c925ad75
commit baf31d35cb

@ -30,10 +30,13 @@ export default function QuestionSearchBar<
startAddOnType="icon" startAddOnType="icon"
/> />
</div> </div>
<span className="pl-3 pr-1 pt-1 text-sm">Sort by:</span> <span aria-hidden={true} className="pl-3 pr-1 pt-1 text-sm">
Sort by:
</span>
<Select <Select
display="inline" display="inline"
label="" isLabelHidden={true}
label="Sort by"
options={sortOptions} options={sortOptions}
value={sortValue} value={sortValue}
onChange={onSortChange}></Select> onChange={onSortChange}></Select>

Loading…
Cancel
Save