Dynamic PDFs with accessibility tags using PDFkit

Is there any documentation available on how to generate PDFs with accessibility tags using PDFkit in Swift? I'm having a hard time trying to figure this out. There is hardly any documentation available. I checked the Apple developer site and there is not much available. Is this even possible?