is the primary focus of Windows 11. DX12 allows for advanced features like Ray Tracing Mesh Shaders
Windows 11 is fully backward compatible with DirectX 11. In fact, it comes pre-installed with the necessary runtimes to support DX11, DX10, and DX9 applications. Because DirectX is integrated into the OS, you generally do not need to "install" it manually; it is updated through Windows Update Key Features and Benefits on Windows 11 directx 11 windows 11
While DX11 is more stable for older hardware and has lower CPU overhead for certain tasks, DirectX 12 (and 12 Ultimate) is the primary focus of Windows 11