File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ UNRELEASE]
9+
10+ ### Added
11+
12+ ### Changes
13+
14+ ### Fixed
15+
16+ - Bad ` aria-labelledby ` attribute on ` MenuList ` when used without ` Menu ` .
17+
818## [ 0.7.11] - 2020-01-09
919
1020### Added
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ export const MenuListInternal = forwardRef(
115115 tabIndex = { - 1 }
116116 role = "menu"
117117 id = { id }
118- aria-labelledby = { `button-${ id } ` }
118+ aria-labelledby = { id && `button-${ id } ` }
119119 { ...props }
120120 >
121121 { children }
You can’t perform that action at this time.
0 commit comments