From 34656ac5ba51f8d489824c5f44ed5f897cac7031 Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Fri, 6 Mar 2026 16:20:19 +0100 Subject: [PATCH] Doc: Add alt text for \image tags for qtmqtt Alternate text (alt text) improves the documentation experience for screen readers and for other accessibility tools. Task-number: QTBUG-135098 Pick-to: 6.11 Change-Id: Ia1793ff3e0bacd8cfdad2e8c04725a5093ed30aa Reviewed-by: David Boddie --- examples/mqtt/doc/quickpublication.qdoc | 2 ++ examples/mqtt/doc/quicksubscription.qdoc | 2 ++ examples/mqtt/doc/simpleclient.qdoc | 2 ++ examples/mqtt/doc/subscriptions.qdoc | 2 ++ src/mqtt/doc/src/overview.qdoc | 3 ++- 5 files changed, 10 insertions(+), 1 deletion(-) diff --git a/examples/mqtt/doc/quickpublication.qdoc b/examples/mqtt/doc/quickpublication.qdoc index 310e18f..5e9eacd 100644 --- a/examples/mqtt/doc/quickpublication.qdoc +++ b/examples/mqtt/doc/quickpublication.qdoc @@ -10,6 +10,8 @@ topics. \image quickpublication.png + {MQTT publishing interface with Hostname, Port, Topic, Message, QoS, + and Retain fields} \e {Qt Quick Publication} demonstrates how to register QMqttClient as a QML type and use it in a Qt Quick application. diff --git a/examples/mqtt/doc/quicksubscription.qdoc b/examples/mqtt/doc/quicksubscription.qdoc index 42e0abd..b4b8e94 100644 --- a/examples/mqtt/doc/quicksubscription.qdoc +++ b/examples/mqtt/doc/quicksubscription.qdoc @@ -10,6 +10,8 @@ topics. \image quicksubscription.png + {MQTT subscription interface with Hostname, Port, Topic fields, Connect + and Subscribe buttons} \e {Qt Quick Subscription} demonstrates how to register QMqttClient as a QML type and use it in a Qt Quick application. diff --git a/examples/mqtt/doc/simpleclient.qdoc b/examples/mqtt/doc/simpleclient.qdoc index c5d2d2b..0bc5760 100644 --- a/examples/mqtt/doc/simpleclient.qdoc +++ b/examples/mqtt/doc/simpleclient.qdoc @@ -9,6 +9,8 @@ \brief Creating a minimalistic telemetry application. \image simpleclient.png + {MQTT client with Host, Port, Protocol fields, WebSockets and Secure + options, Topic and Message inputs, and log showing state changes} \e {Simple MQTT Client} demonstrates how to create a minimalistic client application. diff --git a/examples/mqtt/doc/subscriptions.qdoc b/examples/mqtt/doc/subscriptions.qdoc index a7c17d0..f2dc2ea 100644 --- a/examples/mqtt/doc/subscriptions.qdoc +++ b/examples/mqtt/doc/subscriptions.qdoc @@ -9,6 +9,8 @@ \brief Creating a application that communicates with an MQTT broker. \image subscriptions.png + {Main window with connection and publishing controls, and two + subscription windows showing received messages on qtmqtt/topic1} \e {MQTT Subscriptions} shows how to create an application that communicates with an MQTT broker. A new dialog opens for each subscription, where you can diff --git a/src/mqtt/doc/src/overview.qdoc b/src/mqtt/doc/src/overview.qdoc index fea3cf9..3180f74 100644 --- a/src/mqtt/doc/src/overview.qdoc +++ b/src/mqtt/doc/src/overview.qdoc @@ -21,7 +21,8 @@ broker. The other clients can subscribe to notifications on particular topics sent by the client. - \image mqtt.png + \image mqtt.png {Broker distributing messages from Client 1 to Client 2 + (Topic A) and Client 3 (Topics A and B)} For example, if \e {Client 2} subscribes to messages on \e {Topic A}, it receives a notification when \e {Client 1} sends a message on that topic.