Commit 25234d7e authored by Linda's avatar Linda

add conditional alt attributes to ev3 landing page installation step

parent bf5a890a
...@@ -141,6 +141,11 @@ class EV3 extends ExtensionLanding { ...@@ -141,6 +141,11 @@ class EV3 extends ExtensionLanding {
<Step> <Step>
<div className="step-image"> <div className="step-image">
<img <img
alt={this.props.intl.formatMessage({id: `${
this.state.OS === OS_ENUM.WINDOWS ?
'ev3.imgAltWaitForWindows' :
'ev3.imgAltEnterPasscodeMac'
}`})}
className="screenshot" className="screenshot"
src={`/images/ev3/${ src={`/images/ev3/${
this.state.OS === OS_ENUM.WINDOWS ? this.state.OS === OS_ENUM.WINDOWS ?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment