File tree Expand file tree Collapse file tree
packages/typescriptlang-org/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,12 +41,11 @@ export const EditorExamples = () => {
4141 < div className = "slides" >
4242
4343 < div className = "editor ts front" >
44- < ul className = "editor-tabs" role = "tablist" aria-owns = "tabId1 tabId2 tabId3 tabId4" aria-busy = "true" >
45- < li className = { index === 0 ? "selected" : "" } role = "none presentation" > < a id = "tabId1" href = "#" role = "tab" onClick = { goto ( 0 ) } aria-selected = { index === 0 } > { i ( "index_2_tab_1" ) } </ a > </ li >
46- < li className = { index === 1 ? "selected" : "" } role = "none presentation" > < a id = "tabId2" href = "#" role = "tab" onClick = { goto ( 1 ) } aria-selected = { index === 1 } > { i ( "index_2_tab_2" ) } </ a > </ li >
47- < li className = { index === 2 ? "selected" : "" } role = "none presentation" > < a id = "tabId3" href = "#" role = "tab" onClick = { goto ( 2 ) } aria-selected = { index === 2 } > { i ( "index_2_tab_3" ) } </ a > </ li >
48- < li className = { index === 3 ? "selected" : "" } role = "none presentation" > < a id = "tabId4" href = "#" role = "tab" onClick = { goto ( 3 ) } aria-selected = { index === 3 } > { i ( "index_2_tab_4" ) } </ a > </ li >
49- { /* <li className={index === 4 ? "selected" : ""} ><a href="#" onClick={goto(4) }>{i("index_2_tab_5")}</a></li> */ }
44+ < ul className = "editor-tabs" role = "tablist" >
45+ < li id = "tabId1" className = { index === 0 ? "selected" : "" } role = "tab" tabIndex = { index === 0 ? 0 : - 1 } onClick = { goto ( 0 ) } aria-selected = { index === 0 } > { i ( "index_2_tab_1" ) } </ li >
46+ < li id = "tabId2" className = { index === 1 ? "selected" : "" } role = "tab" tabIndex = { index === 1 ? 0 : - 1 } onClick = { goto ( 1 ) } aria-selected = { index === 1 } > { i ( "index_2_tab_2" ) } </ li >
47+ < li id = "tabId3" className = { index === 2 ? "selected" : "" } role = "tab" tabIndex = { index === 2 ? 0 : - 1 } onClick = { goto ( 2 ) } aria-selected = { index === 2 } > { i ( "index_2_tab_3" ) } </ li >
48+ < li id = "tabId4" className = { index === 3 ? "selected" : "" } role = "tab" tabIndex = { index === 3 ? 0 : - 1 } onClick = { goto ( 3 ) } aria-selected = { index === 3 } > { i ( "index_2_tab_4" ) } </ li >
5049 </ ul >
5150 < div className = "content" id = "above-the-fold-headline-code" >
5251 < div className = "text" >
Original file line number Diff line number Diff line change @@ -99,13 +99,13 @@ export const SiteNav = (props: Props) => {
9999 </ IntlLink >
100100
101101 < nav aria-label = "top menu" >
102- < ul role = "tablist" aria-owns = "tab1 tab2 tab3 tab4 tab5 tab6" aria-busy = "true" >
103- < li className = "nav-item hide-small" role = "none presentation" > < IntlLink id = "tab1" role = "tab " to = "/download" > { i ( "nav_download" ) } </ IntlLink > </ li >
104- < li className = "nav-item" role = "none presentation" > < IntlLink id = "tab2" role = "tab " to = "/docs/" > < span > { i ( "nav_documentation_short" ) } </ span > </ IntlLink > </ li >
105- < li className = "nav-item show-only-large" role = "none presentation" > < IntlLink id = "tab3" role = "tab " to = "/docs/handbook/intro.html" > { i ( "nav_handbook" ) } </ IntlLink > </ li >
106- < li className = "nav-item" role = "none presentation" > < IntlLink id = "tab4" role = "tab " to = "/community" > { i ( "nav_community" ) } </ IntlLink > </ li >
107- < li className = "nav-item show-only-largest" role = "none presentation" > < IntlLink id = "tab5" role = "tab " to = "/play/" > { i ( "nav_playground" ) } </ IntlLink > </ li >
108- < li className = "nav-item" role = "none presentation" > < IntlLink id = "tab6" role = "tab " to = "/tools" > { i ( "nav_tools" ) } </ IntlLink > </ li >
102+ < ul >
103+ < li className = "nav-item hide-small" > < IntlLink id = "tab1" to = "/download" > { i ( "nav_download" ) } </ IntlLink > </ li >
104+ < li className = "nav-item" > < IntlLink id = "tab2" to = "/docs/" > < span > { i ( "nav_documentation_short" ) } </ span > </ IntlLink > </ li >
105+ < li className = "nav-item show-only-large" > < IntlLink id = "tab3" to = "/docs/handbook/intro.html" > { i ( "nav_handbook" ) } </ IntlLink > </ li >
106+ < li className = "nav-item" > < IntlLink id = "tab4" to = "/community" > { i ( "nav_community" ) } </ IntlLink > </ li >
107+ < li className = "nav-item show-only-largest" > < IntlLink id = "tab5" to = "/play/" > { i ( "nav_playground" ) } </ IntlLink > </ li >
108+ < li className = "nav-item" > < IntlLink id = "tab6" to = "/tools" > { i ( "nav_tools" ) } </ IntlLink > </ li >
109109 </ ul >
110110 </ nav >
111111
Original file line number Diff line number Diff line change @@ -352,10 +352,9 @@ $headline-foreground-bg: white;
352352 li {
353353 list-style : none ;
354354 padding : 10px ;
355- a {
356- text-decoration : none ;
357- color : white ;
358- }
355+ cursor : pointer ;
356+ text-decoration : none ;
357+ color : white ;
359358 & .selected {
360359 text-decoration : underline ;
361360 }
You can’t perform that action at this time.
0 commit comments