Skip to content

Commit

Permalink
Fix the a11y violation of UrlWidget (#2944)
Browse files Browse the repository at this point in the history
* Fix the a11y violation of UrlWidget

* minor fix
  • Loading branch information
iRohitSingh authored Feb 2, 2022
1 parent eb1e2b4 commit 61a37c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

### Bugfix

- Fix the a11y violation of UrlWidget @iRohitSingh

### Internal

## 14.7.1 (2022-02-02)
Expand Down
2 changes: 2 additions & 0 deletions src/components/manage/Widgets/UrlWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export const UrlWidget = (props) => {
<Button
basic
className="cancel"
aria-label="clearUrlBrowser"
onClick={(e) => {
e.preventDefault();
e.stopPropagation();
Expand All @@ -115,6 +116,7 @@ export const UrlWidget = (props) => {
<Button
basic
icon
aria-label="openUrlBrowser"
onClick={(e) => {
e.preventDefault();
e.stopPropagation();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ exports[`renders an url widget component 1`] = `
className="ui buttons"
>
<button
aria-label="openUrlBrowser"
className="ui basic icon button"
onClick={[Function]}
>
Expand Down

0 comments on commit 61a37c8

Please sign in to comment.