Skip to content

Commit

Permalink
Remove role=“application” (#548)
Browse files Browse the repository at this point in the history
  • Loading branch information
gpbl committed Nov 15, 2017
1 parent f032e3d commit 767346f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/DayPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,6 @@ export default class DayPicker extends Component {
{...this.props.containerProps}
className={className}
ref={el => (this.dayPicker = el)}
role="application"
lang={this.props.locale}
>
<div
Expand Down
4 changes: 0 additions & 4 deletions test/daypicker/rendering.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,6 @@ describe('DayPicker’s rendering', () => {
const wrapper = shallow(<DayPicker className="given" />);
expect(wrapper).toHaveClassName('given');
});
it('should have the application role', () => {
const wrapper = shallow(<DayPicker />);
expect(wrapper).toHaveProp('role', 'application');
});
it('should use the given tabIndex', () => {
const wrapper = shallow(<DayPicker tabIndex={-1} />);
expect(wrapper.find('.DayPicker-wrapper')).toHaveProp('tabIndex', -1);
Expand Down

0 comments on commit 767346f

Please sign in to comment.