-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Labels
Area: ComponentsRelated to the component library (core) of this systemRelated to the component library (core) of this systemStatus: WIPThis PR is still a work-in-progress. No need to review.This PR is still a work-in-progress. No need to review.Type: EnhancementChanges that don't affect the meaning of the codeChanges that don't affect the meaning of the code
Description
Description
When I use the alert dialog component, I expect that it will utilize the built in dialog element, instead it is using a bunch of divs in order to create the a dialog.
Link to Reproduction
https://paste.twilio.design/components/alert-dialog
Steps to reproduce
- Go to 'https://paste.twilio.design/components/alert-dialog#default-alert-dialog'
- Click on 'Open Alert Dialog'.
- Inspect Element.
Paste Core Version
latest
Browser
Google Chrome 123.0.6312.124
Operating System
- macOS
- Windows
- Linux
Additional Information
Using the semantic elements moving forward will improve the accessibility of the applications that use this library. Potentially we should use a div if dialog does not exist, but if it does we should use dialog.
Metadata
Metadata
Assignees
Labels
Area: ComponentsRelated to the component library (core) of this systemRelated to the component library (core) of this systemStatus: WIPThis PR is still a work-in-progress. No need to review.This PR is still a work-in-progress. No need to review.Type: EnhancementChanges that don't affect the meaning of the codeChanges that don't affect the meaning of the code