Select all entries with asset field attribute criteria
You can do it like explained in this answer, only that you also add your dropdown field parameter to your craft.assets criteria model:

{% set assets = craft.assets.docType('A').limit(null) %}


and then:

{% set entries = craft.entries.section('articles').relatedTo({
    targetElement: assets,
    field: 'documents'
}) %}