Skip to content

Commit

Permalink
fix: agenda tooltip with keyboard focus
Browse files Browse the repository at this point in the history
add a tab stop to titles in agenda events with tooltips
closes #2236
  • Loading branch information
gavinbarron committed Jul 19, 2023
1 parent 7e608e4 commit 400f56b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions packages/mgt-components/src/components/mgt-agenda/mgt-agenda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,14 +421,17 @@ export class MgtAgenda extends MgtTemplatedComponent {
<div
aria-describedby="tooltip-${event.id}"
class="${classMap(eventSubjectClasses)}"
id=${event.id}>
${event.subject}
tabindex="0"
id=${event.id}
>
${event.subject}
</div>
<fluent-tooltip
id="tooltip-${event.id}"
position="right"
anchor="${event.id}">
${eventDescription}
anchor="${event.id}"
>
${eventDescription}
</fluent-tooltip>
`;

Expand Down

0 comments on commit 400f56b

Please sign in to comment.