- NameCharlie Gomez
- Related ToTesla Cloudhub + Anypoint Connectors
Need to finalize proposals and brand details before the meeting
Each Activity timeline item receives its width from the parent list. It can consume the full width of the main page area or be placed in the smaller right sidebar.
Text describing the type of timeline item is placed in a span
. It is the first element in the timeline item and should be hidden with the slds-assistive-text
class. The SVG
image does not need the slds-assistive-text
class.
Button:
aria-controls
is used to create an association between the button and the details section. If the details section has an id="email-content"
, then the button should have aria-controls="email-content"
.id="email-content"
, then the div with slds-timeline__trigger
should have aria-controls="email-content"
and the click handler.aria-expanded
indicates if the details section is open or closed and is read aloud by assistive technology when the button is focused.Section:
aria-hidden
indicates if the details section is open or closed, and if set to true
, assistive technology hides the details section.<ul class="slds-timeline">
<li>
<div class="slds-timeline__item_expandable slds-timeline__item_task">
Accessibility Note
When the user interacts with the button to open the details section,
aria-expanded
on the button should betrue
andaria-hidden
on the details section should befalse
.When the user interacts with the button to close the details section,
aria-expanded
on the button should befalse
andaria-hidden
on the details section should betrue
.
<ul class="slds-timeline">
<li>
<div class="slds-timeline__item_expandable slds-timeline__item_task slds-is-open">
<ul class="slds-timeline">
<li>
<div class="slds-timeline__item_expandable slds-timeline__item_task slds-is-open">
<ul class="slds-timeline">
<li>
<div class="slds-timeline__item_expandable slds-timeline__item_task slds-is-open">
<div class="demo-only" style="width:400px">
<ul class="slds-timeline">
<li>