이 페이지에서

Qt Quick 예시 - 접근성

이 예제는 접근성이 보장된 버튼의 구현 방법을 보여줍니다.

접근성 섹션에서는 접근성 시스템을 위한 메타데이터가 추가된 QML 유형을 보여줍니다. 자세한 내용은 접근성 페이지를 참조하십시오.

예제 실행

다음 경로에서 예제를 실행할 수 있습니다:

접근성 지원 버튼 구현

버튼은 접근성 시스템에 자체 정보와 기능을 알립니다:

Accessible.name: text
Accessible.description: "This button does " + text
Accessible.role: Accessible.Button
Accessible.onPressAction: {
    button.clicked()
}

마찬가지로, 예제 내부의 ` Text ` 유형도 자체를 식별합니다:

Accessible.role: Accessible.StaticText
Accessible.name: text

코드.qt.io의 예제 프로젝트

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.