Skip to content

Commit

Permalink
Remove role="gridcell" from non interactive day
Browse files Browse the repository at this point in the history
See http://rawgit.com/w3c/aria/master/aria/aria.html#gridcell: “A gridcell may be focusable, editable, and selectable.” (#386)
  • Loading branch information
gpbl committed Jun 12, 2017
1 parent 82f29bd commit 0c1b601
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/Day.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,7 @@ export default class Day extends Component {
}

if (empty) {
return (
<div
role="gridcell"
aria-disabled
className={className}
style={style}
/>
);
return <div aria-disabled className={className} style={style} />;
}
return (
<div
Expand Down

0 comments on commit 0c1b601

Please sign in to comment.