Hello
Thank you for your question and reaching out.
Please note that MS has disabled this feature. You have to use either a hack or a third party product to get it to work. Here are some links to this common question.
Below is reference article having similar query as yours.
https://learn.microsoft.com/en-us/answers/questions/600588/windows-11-taskbar.html
I will also advise you to post your Feedback using Microsoft feedback hub.
https://support.microsoft.com/en-us/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332
----------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer--