If someone or something complies with an order or set of rules,they are in accordance with what is required or expected.

问题描述:

If someone or something complies with an order or set of rules,they are in accordance with what is required or expected.
这里的 accordance with what
what 在从句里作主语 而且 代表着 accordance
accordance 后面再加个 with 有什么用?

理解错误,此处what不是代表accordance.
in accordance with 是个固定搭配,意思是与...一致
相当于句子中的comply with .what is required or expected 是个介词with 的宾语,可与把what is required or expected 换元为单词x,那么with x 就是姐宾短语了.
好了,祝君好运