Rule: 1.2.1 - Verify that output encoding for an HTTP response, HTML document, or XML document is relevant for the context required...”
In most of the cases the Output encoding is primary responsibility of the client-side JavaScript framework, not the backend.