Skip to content

Commit

Permalink
Fix aria roles on weekday elements
Browse files Browse the repository at this point in the history
  • Loading branch information
John Sanders committed Mar 7, 2017
1 parent c9ab28f commit 09c6604
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Weekday.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function Weekday({
}

return (
<div className={ className }>
<div className={ className } role="columnheader">
<abbr title={ title }>
{content}
</abbr>
Expand Down
2 changes: 1 addition & 1 deletion src/Weekdays.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function Weekdays({

return (
<div className={ classNames.weekdays } role="rowgroup">
<div className={ classNames.weekdaysRow } role="columnheader">
<div className={ classNames.weekdaysRow } role="row">
{ days }
</div>
</div>
Expand Down

0 comments on commit 09c6604

Please sign in to comment.