diff --git a/packages/fluentui/CHANGELOG.md b/packages/fluentui/CHANGELOG.md index 4eabbcc299dd32..f85b6908bf00a1 100644 --- a/packages/fluentui/CHANGELOG.md +++ b/packages/fluentui/CHANGELOG.md @@ -17,6 +17,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Documentation +- `Input`: Remove wrong recommendation - usage of role="search" #28168 @kolaps33 ([#28168](https://github.com/microsoft/fluentui/pull/28168)) ### Fixes - `Datepicker`: add onCalendarOpenStateChange prop. @jurokapsiar ([#28136](https://github.com/microsoft/fluentui/pull/28136)) diff --git a/packages/fluentui/docs/src/examples/components/Input/BestPractices/InputBestPractices.tsx b/packages/fluentui/docs/src/examples/components/Input/BestPractices/InputBestPractices.tsx index 61f131d46bc527..09f5d458e70e06 100644 --- a/packages/fluentui/docs/src/examples/components/Input/BestPractices/InputBestPractices.tsx +++ b/packages/fluentui/docs/src/examples/components/Input/BestPractices/InputBestPractices.tsx @@ -2,10 +2,7 @@ import * as React from 'react'; import ComponentBestPractices from '../../../../components/ComponentBestPractices'; -const doList = [ - 'For good screen reader experience set `aria-label` or `aria-labelledby` attribute for input.', - 'If input is search, then use `role="search"`.', -]; +const doList = ['For good screen reader experience set `aria-label` or `aria-labelledby` attribute for input.']; const dontList = ['Do not use `placeholder` when using `label` with `labelPosition="inside"`'];