Skip to content

Commit

Permalink
[Dashboard/Markdown] Add tabindex (elastic#197848)
Browse files Browse the repository at this point in the history
## Summary

This PR adds `tabIndex` to
[markdown_vis_controller.tsx](https://github.com/elastic/kibana/compare/main...kowalczyk-krzysztof:kibana:fix/dashboard-markdown-panel?expand=1#diff-47267cf2f7d8f9e72e157ddb40292226a88ad5e51f9c92486799d381c5085e5f).

Closes: elastic#186559

## Visuals:

https://github.com/user-attachments/assets/8264c584-e7ca-4647-946a-7b9bd9f7aa8f

This video demonstrates the markdown panel being tabbable and the
scrollbar in being controlled with keyboard.

(cherry picked from commit 6cc8b97)
  • Loading branch information
kowalczyk-krzysztof committed Oct 30, 2024
1 parent 46a85bf commit 63c19fd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const MarkdownVisComponent = ({
data-test-subj="markdownBody"
openLinksInNewTab={openLinksInNewTab}
markdown={markdown}
tabIndex={0}
/>
</div>
);
Expand Down

0 comments on commit 63c19fd

Please sign in to comment.