Skip to content

Commit

Permalink
fix a11y issue on eventview (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
steffenri authored Jul 14, 2023
1 parent 0cd31e1 commit 1270e29
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions news/147.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a11y issues in EventView @steffenri
22 changes: 11 additions & 11 deletions src/components/Theme/EventView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,21 +224,21 @@ const EventView = (props) => {
</div>
</Grid.Column>
<div className="event-button">
<Button className="event-btn">
<a
className="ics-download"
target="_blank"
rel="noreferrer"
href={`${expandToBackendURL(
content['@id'],
)}/ics_view`}
>
<a
className="ics-download"
target="_blank"
rel="noreferrer"
href={`${expandToBackendURL(
content['@id'],
)}/ics_view`}
>
<Button className="event-btn">
<FormattedMessage
id="ICS-Download"
defaultMessage="ICS Download"
/>
</a>
</Button>
</Button>
</a>
</div>
</Grid.Row>
</Grid>
Expand Down

0 comments on commit 1270e29

Please sign in to comment.