Skip to content

Commit

Permalink
Adds title to close button of search and replace box (jupyterlab#15825)
Browse files Browse the repository at this point in the history
* Adds title to close button

* Update packages/documentsearch/src/searchview.tsx

Co-authored-by: Michał Krassowski <5832902+krassowski@users.noreply.github.com>

---------

Co-authored-by: Michał Krassowski <5832902+krassowski@users.noreply.github.com>
  • Loading branch information
JasonWeill and krassowski authored Feb 22, 2024
1 parent 32fb8c5 commit 15875f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/documentsearch/src/searchview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ class SearchOverlay extends React.Component<ISearchOverlayProps> {
className={BUTTON_WRAPPER_CLASS}
onClick={() => this._onClose()}
tabIndex={0}
title={trans.__('Close Search Box')}
>
<closeIcon.react
className="jp-icon-hover"
Expand Down

0 comments on commit 15875f4

Please sign in to comment.