Add id attribute to real-time visualization canvas for improved accessibility
This commit is contained in:
parent
fb4a67f979
commit
76f0c04844
|
@ -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" : "",
|
||||||
|
|
Loading…
Reference in New Issue