mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-16 17:25:58 +00:00
Screen reader changes (#171)
* Screen reader fix for splash screen * Removing more stuff alt text Co-authored-by: Daniel Si Pham <v-danpha@microsoft.com>
This commit is contained in:
parent
92073a5646
commit
a28dede88d
@ -45,7 +45,7 @@ export class SplashScreenComponent extends React.Component<SplashScreenComponent
|
|||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
role="button"
|
role="button"
|
||||||
>
|
>
|
||||||
<img src={item.iconSrc} alt={item.title} />
|
<img src={item.iconSrc} alt="" />
|
||||||
<div className="legendContainer">
|
<div className="legendContainer">
|
||||||
<div className="legend">{item.title}</div>
|
<div className="legend">{item.title}</div>
|
||||||
<div className="description">{item.description}</div>
|
<div className="description">{item.description}</div>
|
||||||
@ -66,7 +66,7 @@ export class SplashScreenComponent extends React.Component<SplashScreenComponent
|
|||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
role="button"
|
role="button"
|
||||||
>
|
>
|
||||||
<img src={item.iconSrc} alt={item.title} />
|
<img src={item.iconSrc} alt="" />
|
||||||
<span className="oneLineContent" title={item.info}>
|
<span className="oneLineContent" title={item.info}>
|
||||||
{item.title}
|
{item.title}
|
||||||
</span>
|
</span>
|
||||||
@ -79,7 +79,7 @@ export class SplashScreenComponent extends React.Component<SplashScreenComponent
|
|||||||
<ul>
|
<ul>
|
||||||
{this.props.recentItems.map((item: SplashScreenItem, index: number) => (
|
{this.props.recentItems.map((item: SplashScreenItem, index: number) => (
|
||||||
<li key={`${item.title}${item.description}${index}`}>
|
<li key={`${item.title}${item.description}${index}`}>
|
||||||
<img src={item.iconSrc} alt={item.title} />
|
<img src={item.iconSrc} alt="" />
|
||||||
<span className="twoLineContent">
|
<span className="twoLineContent">
|
||||||
<Link onClick={item.onClick} title={item.info}>
|
<Link onClick={item.onClick} title={item.info}>
|
||||||
{item.title}
|
{item.title}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user