File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
components/vertical-navigation Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ exports[`DOM snapshots SLDSVerticalNavigation DOM Snapshot 1`] = `
22
22
className="slds-nav-vertical__item slds-is-active"
23
23
>
24
24
<a
25
+ aria-current={true}
25
26
aria-describedby="sample-navigation-reports"
26
27
className="slds-nav-vertical__action"
27
28
data-id="recent_reports"
@@ -169,6 +170,7 @@ exports[`DOM snapshots SLDSVerticalNavigation Default 1`] = `
169
170
className="slds-nav-vertical__item slds-is-active"
170
171
>
171
172
<a
173
+ aria-current={true}
172
174
aria-describedby="sample-navigation-reports"
173
175
className="slds-nav-vertical__action"
174
176
data-id="recent_reports"
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ const Item = (props) => (
34
34
href = { props . item . url || 'javascript:void(0);' } // eslint-disable-line no-script-url
35
35
className = "slds-nav-vertical__action"
36
36
aria-describedby = { props . categoryId }
37
+ aria-current = { props . isSelected ? true : undefined }
37
38
onClick = { ( event ) => {
38
39
handleClick ( event , props ) ;
39
40
} }
You can’t perform that action at this time.
0 commit comments