{
    "description": {
        "author": "Salesforce",
        "text": [
            "Component designed for accessibility, which allows screen readers to announce messages dynamically. It can handle keyboard navigation to move through messages and announce the latest message.",
            "Selector: src-message-a-1-1y"
        ]
    },
    "shadow": {
        "elements": [
            {
                "name": "messageContainer",
                "selector": {
                    "css": ".messageAccessible"
                },
                "description": "Represents the container for the message to be announced.",
                "elements": [
                    {
                        "name": "messageContent",
                        "selector": {
                            "css": "pre"
                        },
                        "description": "Represents the actual message content that will be read by screen readers."
                    }
                ]
            },
            {
                "name": "messageBlock",
                "selector": {
                    "css": "[data-a11y-block]",
                    "returnAll": true
                },
                "description": "Represents blocks of messages that are focusable for accessibility purposes.",
                "wait": true
            }
        ]
    },
    "elements": [
        {
            "name": "defaultSlot",
            "selector": {
                "css": ":scope > *:first-child"
            },
            "type": "container",
            "description": "Represents the default slot for content insertion.",
            "public": true
        }
    ],
    "methods": [
        {
            "name": "getMessageContentText",
            "description": {
                "text": [
                    "Retrieves the text content of the message that is announced to screen readers"
                ],
                "return": "string"
            },
            "compose": [
                {
                    "element": "messageContent",
                    "apply": "getText"
                }
            ]
        },
        {
            "name": "isMessageContainerVisible",
            "description": {
                "text": [
                    "Checks if the message container is visible"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "messageContainer",
                    "apply": "isVisible"
                }
            ]
        },
        {
            "name": "areMessageBlocksPresent",
            "description": {
                "text": [
                    "Checks if there are any message blocks present"
                ],
                "return": "boolean[]"
            },
            "compose": [
                {
                    "element": "messageBlock",
                    "apply": "isPresent"
                }
            ]
        },
        {
            "name": "getLastMessageBlockText",
            "description": {
                "text": [
                    "Retrieves the text content of the last message block"
                ],
                "return": "string[]"
            },
            "compose": [
                {
                    "element": "messageBlock",
                    "apply": "getText"
                }
            ]
        }
    ]
}