seas-computing / mark-one

A UI component library for building React Apps (in development)
https://seas-computing.github.io/mark-one/
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Add 'role' and 'aria-live' properties to ModalMessage #120

Closed natalynyu closed 2 years ago

natalynyu commented 2 years ago

In most cases, I would anticipate the role and aria-live values would be 'alert' and 'assertive, respectively. Since this may not always be the case, I added the props role and ariaLive so that the user can change the values but also added default values for both of these properties.

Describe your changes

Types of changes

Checklist:

Priority:

Related Issues:

Fixes #374