Skip to content

Commit 71d466a

Browse files
authored
Merge pull request #781 from indiana-university/release/2.9.0
Release 2.9.0
2 parents c0e43d4 + 8e64a9b commit 71d466a

3 files changed

Lines changed: 2 additions & 33 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "rivet-core",
33
"description": "Indiana University design system",
44
"homepage": "https://rivet.iu.edu",
5-
"version": "2.8.1",
5+
"version": "2.9.0",
66
"license": "BSD-3-Clause",
77
"repository": {
88
"type": "git",

src/js/components/dropdown.js

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ export default class Dropdown extends Component {
112112

113113
_initAttributes () {
114114
this._assignComponentElementIds()
115-
this._setAriaAttributes()
116115
},
117116

118117
/************************************************************************
@@ -130,36 +129,6 @@ export default class Dropdown extends Component {
130129
Component.setAttributeIfNotSpecified(this.menuElement, 'id', id)
131130
},
132131

133-
/************************************************************************
134-
* Sets the dropdown component's ARIA attributes.
135-
*
136-
* @private
137-
***********************************************************************/
138-
139-
_setAriaAttributes () {
140-
this.toggleElement.setAttribute('aria-expanded', false)
141-
142-
if (this._isMenu()) {
143-
this.menuElement.setAttribute('role', 'menu')
144-
this.toggleElement.setAttribute('aria-haspopup', 'menu')
145-
}
146-
},
147-
148-
/************************************************************************
149-
* Determines if the dropdown is a menu for the purposes of ARIA
150-
* attributes.
151-
*
152-
* @private
153-
* @returns {boolean} Dropdown is menu
154-
***********************************************************************/
155-
156-
_isMenu () {
157-
// Consider the dropdown a menu of action buttons if at least one
158-
// non-hyperlink element is present
159-
160-
return this.menuItems.some(i => i.tagName != 'A')
161-
},
162-
163132
/************************************************************************
164133
* Removes the arrow icon from the tab order.
165134
*

src/sass/radios/_base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ $padding: math.div(3rem, 16);
7474
}
7575

7676
input[type='radio']:disabled ~ label {
77-
color: $color-black-500;
77+
color: $color-black-400;
7878
cursor: default;
7979
}
8080

0 commit comments

Comments
 (0)