diff -uNr kwidgetsaddons-5.99.0/src/kpassworddialog.cpp kwidgetsaddons-5.99.0.mod/src/kpassworddialog.cpp
--- kwidgetsaddons-5.99.0/src/kpassworddialog.cpp	2022-10-01 22:25:53.000000000 +0800
+++ kwidgetsaddons-5.99.0.mod/src/kpassworddialog.cpp	2022-11-12 17:41:35.738158340 +0800
@@ -78,7 +78,9 @@
     ui.userEditContextHelpButton->setIcon(QIcon::fromTheme(QStringLiteral("help-contextual")));
     ui.userEditContextHelpButton->setText(QString());
     const QString description = QApplication::translate("KPasswordDialog", "Show Contextual Help");
+#ifndef QT_NO_ACCESSIBILITY
     ui.userEditContextHelpButton->setAccessibleName(description);
+#endif
     ui.userEditContextHelpButton->setToolTip(description);
     QObject::connect(ui.userEditContextHelpButton, &QPushButton::released, q, [this] {
         QEvent ev(QEvent::WhatsThis);
