Add id attribute to real-time visualization canvas for improved accessibility

This commit is contained in:
Vishnu 2025-05-12 09:11:53 +05:30
parent fb4a67f979
commit 76f0c04844
1 changed files with 1 additions and 0 deletions

View File

@ -187,6 +187,7 @@ const RealTimeVisulization: React.FC = () => {
<div <div
ref={containerRef} ref={containerRef}
className="realTime-viz" className="realTime-viz"
id="real-time-vis-canvas"
style={{ style={{
height: isPlaying || activeModule !== "visualization" ? "100vh" : "", height: isPlaying || activeModule !== "visualization" ? "100vh" : "",
width: isPlaying || activeModule !== "visualization" ? "100vw" : "", width: isPlaying || activeModule !== "visualization" ? "100vw" : "",