Various accessibility improvements

* Add announcement element with `aria-live`
* Add skip to main content element

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-10-10 16:24:12 +02:00
parent 6113836e29
commit eba3c70c9b
62 changed files with 687 additions and 175 deletions

View File

@@ -82,7 +82,7 @@ export interface IEvent {
onlineAddress?: string;
phoneAddress?: string;
physicalAddress?: IAddress;
physicalAddress: IAddress | null;
tags: ITag[];
options: IEventOptions;
@@ -115,7 +115,7 @@ export class EventModel implements IEvent {
phoneAddress: string | undefined = "";
physicalAddress?: IAddress;
physicalAddress: IAddress | null = null;
picture: IMedia | null = null;
@@ -192,7 +192,7 @@ export class EventModel implements IEvent {
this.phoneAddress = hash.phoneAddress;
this.physicalAddress = hash.physicalAddress
? new Address(hash.physicalAddress)
: undefined;
: null;
this.participantStats = hash.participantStats;
this.contacts = hash.contacts;