up-to-date texlive, with the new luatex dev version, this mwe throws warnings:
\DocumentMetadata{lang=de, pdfversion=1.7, pdfstandard=A-2b}
\documentclass{scrartcl}
\usepackage{fontspec, blindtext}
\begin{document}
\blinddocument
\end{document}
% Local Variables:
% TeX-engine: Lua-dev
% End:
Warnings like:
LaTeX2e <2025-11-01> pre-release-1 (develop 2025-8-10 branch)
L3 programming layer <2025-07-20>
...
Class scrartcl Warning: \@startsection' has been changed.
(scrartcl) scrartcl needs it's own definition of\@startsection'
(scrartcl) to provide extended features for the optional argument
(scrartcl) of \section' etc.
(scrartcl) Generally it defines\@startsection' completely new
(scrartcl) to achieve this. Because of the unexpected definition
(scrartcl) an alternative approach will be used.
(scrartcl) If this fails and if there isn't a new release of
(scrartcl) KOMA-Script that fixes the problem, please
(scrartcl) send a report to the KOMA-Script author.
(scrartcl) Note, that this alternative approach does not
(scrartcl) execute the elements of do-hooks:
(scrartcl) - heading/postinit',
(scrartcl) -heading/branch/star',
(scrartcl) - heading/branch/nostar',
(scrartcl) and does always userunin=bysign' and
(scrartcl) `afterindent=bysign'.
Class scrartcl Warning: Unexpected definition of \@sect!
(scrartcl) Please send information about this to
(scrartcl) the KOMA-Script maintainer!
(scrartcl) Maybe LaTeX will be broken by the redefinition
(scrartcl) of \@sect on input line 3549.
Class scrartcl Warning: Unexpected definition of \@ssect!
(scrartcl) Please send information about this to
(scrartcl) the KOMA-Script maintainer!
(scrartcl) Maybe LaTeX will be broken by the redefinition
(scrartcl) of \@ssect on input line 3745.
Class scrartcl Warning: Unexpected definition of \@xsect!
(scrartcl) Please send information about this to
(scrartcl) the KOMA-Script maintainer!
(scrartcl) Maybe LaTeX will be broken by the redefinition
(scrartcl) of \@xsect on input line 3826.
Removing the first line solves the issue.
Thank you for the report. But I cannot promise to change it until the next Milestone. Support for all
\DocumentMetadatafeatures is currently delayed and classified as new features.pdfstandard=A-2bactivates tagging and as explained here this is currently not supported with KOMA-Script. Therefore I've changed the Milestone.