Revert "remove title from nav"

This reverts commit a85068b25e.
This commit is contained in:
David 2020-04-08 23:18:40 -05:00
parent a85068b25e
commit e9ddf6a8ea
2 changed files with 3 additions and 3 deletions

View file

@ -227,7 +227,7 @@ class Nav extends React.PureComponent {
renderDashboardMenu(navDropdownState) { renderDashboardMenu(navDropdownState) {
return ( return (
<ul className="nav__items-left"> <ul className="nav__items-left" title="project-menu">
<li className="nav__item-logo"> <li className="nav__item-logo">
<InlineSVG src={logoUrl} alt="p5.js logo" className="svg__logo" /> <InlineSVG src={logoUrl} alt="p5.js logo" className="svg__logo" />
</li> </li>
@ -245,7 +245,7 @@ class Nav extends React.PureComponent {
renderProjectMenu(navDropdownState) { renderProjectMenu(navDropdownState) {
return ( return (
<ul className="nav__items-left"> <ul className="nav__items-left" title="project-menu">
<li className="nav__item-logo"> <li className="nav__item-logo">
<InlineSVG src={logoUrl} alt="p5.js logo" className="svg__logo" /> <InlineSVG src={logoUrl} alt="p5.js logo" className="svg__logo" />
</li> </li>

View file

@ -13,7 +13,7 @@ class NavBasic extends React.PureComponent {
render() { render() {
return ( return (
<nav className="nav" title="main-navigation" ref={(node) => { this.node = node; }}> <nav className="nav" title="main-navigation" ref={(node) => { this.node = node; }}>
<ul className="nav__items-left"> <ul className="nav__items-left" title="project-menu">
<li className="nav__item-logo"> <li className="nav__item-logo">
<InlineSVG src={logoUrl} alt="p5.js logo" className="svg__logo" /> <InlineSVG src={logoUrl} alt="p5.js logo" className="svg__logo" />
</li> </li>